<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Don&#8217;t throw exceptions from a static initializer</title>
	<atom:link href="http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/feed/" rel="self" type="application/rss+xml" />
	<link>http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/</link>
	<description>by Java coders, for Java coders</description>
	<lastBuildDate>Thu, 22 Jul 2010 12:24:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Anjan Bacchu</title>
		<link>http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/comment-page-1/#comment-69</link>
		<dc:creator>Anjan Bacchu</dc:creator>
		<pubDate>Mon, 02 Jul 2007 23:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/#comment-69</guid>
		<description>&lt;p&gt;I&#039;ve been burnt with this issue. Yes, the exception was lost and subsequent class references giving NCDFE Errors were really painfull to understand.&lt;/p&gt;

&lt;p&gt;Only after remote debugging, was I able to figure out what happened.&lt;/p&gt;

&lt;p&gt;Then again, exceptions should be easily filterable so that you can narrow down to a particular Java class if you are in a DEBUG mode. Since we had a huge amount of stdout and exception trace in our log file, I could NOT easily find out what was happening.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been burnt with this issue. Yes, the exception was lost and subsequent class references giving NCDFE Errors were really painfull to understand.</p>

<p>Only after remote debugging, was I able to figure out what happened.</p>

<p>Then again, exceptions should be easily filterable so that you can narrow down to a particular Java class if you are in a DEBUG mode. Since we had a huge amount of stdout and exception trace in our log file, I could NOT easily find out what was happening.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ricky</title>
		<link>http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/comment-page-1/#comment-68</link>
		<dc:creator>Ricky</dc:creator>
		<pubDate>Mon, 02 Jul 2007 21:04:14 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/07/02/dont-throw-exceptions-from-a-static-initializer/#comment-68</guid>
		<description>&lt;p&gt;Perhaps the class depends on some condition so strongly that it makes no sense to let classloading complete normally.&lt;/p&gt;

&lt;p&gt;I just tested this out (Java 6), and it seems that the resulting stack trace is quite readable (I wondered whether your lost hours were down to the exception being swallowed).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Perhaps the class depends on some condition so strongly that it makes no sense to let classloading complete normally.</p>

<p>I just tested this out (Java 6), and it seems that the resulting stack trace is quite readable (I wondered whether your lost hours were down to the exception being swallowed).</p>]]></content:encoded>
	</item>
</channel>
</rss>
