<?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: Fail-Fast Pattern/Policy</title>
	<atom:link href="http://dotnetworkaholic.com/fail-fast-pattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetworkaholic.com/fail-fast-pattern/</link>
	<description>Atlanta ASP.Net MVC Developer/ Architect</description>
	<lastBuildDate>Fri, 16 Jul 2010 05:20:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jerry Dennany</title>
		<link>http://dotnetworkaholic.com/fail-fast-pattern/comment-page-1/#comment-4020</link>
		<dc:creator>Jerry Dennany</dc:creator>
		<pubDate>Fri, 05 Dec 2008 18:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetworkaholic.com/fail-fast-patternpolicy-fail-early-with-context/#comment-4020</guid>
		<description>You mentioned walking up the call stack to get the previous MethodInfo. I demo something like this with Tracing in an article here:
&lt;br&gt;
&lt;br&gt;&lt;a target=&quot;_new&quot; href=&quot;http://www.codeproject.com/csharp/customtracelistener.asp&quot; rel=&quot;nofollow&quot;&gt;http://www.codeproject.com/csharp/customtracelistener.asp&lt;/a&gt;
&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>You mentioned walking up the call stack to get the previous MethodInfo. I demo something like this with Tracing in an article here:</p>
<p><a target="_new" href="http://www.codeproject.com/csharp/customtracelistener.asp" rel="nofollow">http://www.codeproject.com/csharp/customtracelistener.asp</a><br /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Lockwood</title>
		<link>http://dotnetworkaholic.com/fail-fast-pattern/comment-page-1/#comment-4019</link>
		<dc:creator>Paul Lockwood</dc:creator>
		<pubDate>Fri, 05 Dec 2008 18:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetworkaholic.com/fail-fast-patternpolicy-fail-early-with-context/#comment-4019</guid>
		<description>Yup throwing exceptions is expensive, I found that out the hard way. When first writing .Net code I used Exceptions to indicate &#039;expected errors&#039; - i.e. broken business rules, validation errors etc which happen all the time. Not a wise idea!
&lt;br&gt;
&lt;br&gt;As I understand it the main point with Fail-Fast is to throw an exception when the code would fail anyway. In almost every case I use the technique it is in places that an error SHOULD never happen, when some inevitably do using fail-fast prepares the ground for spotting the root cause.
&lt;br&gt;
&lt;br&gt;Allowing Exceptions to bubble up the code [wry smile] That&#039;s always a good one to get developers arguing especially Java people who generally miss their checked exceptions.</description>
		<content:encoded><![CDATA[<p>Yup throwing exceptions is expensive, I found that out the hard way. When first writing .Net code I used Exceptions to indicate &#8216;expected errors&#8217; &#8211; i.e. broken business rules, validation errors etc which happen all the time. Not a wise idea!</p>
<p>As I understand it the main point with Fail-Fast is to throw an exception when the code would fail anyway. In almost every case I use the technique it is in places that an error SHOULD never happen, when some inevitably do using fail-fast prepares the ground for spotting the root cause.</p>
<p>Allowing Exceptions to bubble up the code [wry smile] That&#8217;s always a good one to get developers arguing especially Java people who generally miss their checked exceptions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Schade</title>
		<link>http://dotnetworkaholic.com/fail-fast-pattern/comment-page-1/#comment-4018</link>
		<dc:creator>Sean Schade</dc:creator>
		<pubDate>Tue, 27 Jul 2004 23:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetworkaholic.com/fail-fast-patternpolicy-fail-early-with-context/#comment-4018</guid>
		<description>Excellent point Paul. Exceptions are expensive to throw, but hours or even days of debugging are much more expensive! I have never been a fan of just letting an exception bubble up to the calling code. Usually the context of the exception is so irrelevant at that point that it becomes useless.</description>
		<content:encoded><![CDATA[<p>Excellent point Paul. Exceptions are expensive to throw, but hours or even days of debugging are much more expensive! I have never been a fan of just letting an exception bubble up to the calling code. Usually the context of the exception is so irrelevant at that point that it becomes useless.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
