<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Javablog &#187; static</title>
	<atom:link href="http://javablog.co.uk/category/static/feed/" rel="self" type="application/rss+xml" />
	<link>http://javablog.co.uk</link>
	<description>by Java coders, for Java coders</description>
	<lastBuildDate>Mon, 04 Jan 2010 15:20:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Don&#8217;t throw exceptions from a static initializer</title>
		<link>http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/</link>
		<comments>http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 18:36:50 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Construction]]></category>
		<category><![CDATA[Exceptions]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[static]]></category>

		<guid isPermaLink="false">http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/</guid>
		<description><![CDATA[This includes static members that are initialized as part of their declaration. Why? Because it cancels classloading (for the containing class) and future references to that class result in a NoClassDefFoundError. A far better approach is to wrap this in an explicit initialization method and call that. At least this way there&#8217;s an explicit contract [...]]]></description>
		<wfw:commentRss>http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

