<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com - Stories tagged with Exceptions</title>
    <description>the latest stories tagged with 'Exceptions' from DotNetKicks.com</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>A Guide to Sexy Exceptions in .NET</title>
      <description>Whether you are a rookie developer or a weathered code monkey, you have seen this exception at some point in your work.  Chances are, if you are the latter of the two, you have dealt with tracking the issue down and dealing with it.  My goal, is to make that better. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fsaviant.tumblr.com%2fpost%2f8515613376%2fa-guide-to-sexy-exceptions-in-net"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fsaviant.tumblr.com%2fpost%2f8515613376%2fa-guide-to-sexy-exceptions-in-net" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/A_Guide_to_Sexy_Exceptions_in_NET</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/A_Guide_to_Sexy_Exceptions_in_NET</guid>
      <pubDate>Sat, 06 Aug 2011 01:44:28 GMT</pubDate>
    </item>
    <item>
      <title>The Greatest Exception Handling WTF?!? of All Time</title>
      <description>The Exception object has ONE purpose and ONE purpose only - to represent a runtime error, nothing more. Exceptions should never be used for purposes for which they were not intended -- or you could end up with this monstrosity... &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fleedumond.com%2fblog%2fthe-greatest-exception-handling-wtf-of-all-time%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fleedumond.com%2fblog%2fthe-greatest-exception-handling-wtf-of-all-time%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/patterns/The_Greatest_Exception_Handling_WTF_of_All_Time</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/patterns/The_Greatest_Exception_Handling_WTF_of_All_Time</guid>
      <pubDate>Thu, 28 May 2009 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Asp.net Ajax Exception Logging</title>
      <description>Error logging system using ASP.NET AJAX &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdotnetslackers.com%2fcolumns%2fajax%2fAspNetAjaxExceptionLogging.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdotnetslackers.com%2fcolumns%2fajax%2fAspNetAjaxExceptionLogging.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/ajax/Asp_net_Ajax_Exception_Logging</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/ajax/Asp_net_Ajax_Exception_Logging</guid>
      <pubDate>Tue, 14 Aug 2007 12:31:02 GMT</pubDate>
    </item>
    <item>
      <title>Exceptions vs. Error codes with Services</title>
      <description>Brief examination of exceptions vs. error codes &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2frjacobs%2farchive%2f2007%2f07%2f10%2fexceptions-vs-error-codes-with-services.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2frjacobs%2farchive%2f2007%2f07%2f10%2fexceptions-vs-error-codes-with-services.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/architecture/Exceptions_vs_Error_codes_with_Services</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/architecture/Exceptions_vs_Error_codes_with_Services</guid>
      <pubDate>Tue, 24 Jul 2007 11:01:02 GMT</pubDate>
    </item>
    <item>
      <title>Custom Exceptions for the Real World</title>
      <description>Inspired by the newly defined ADD methodologies, I have assemblies a list of real world exceptions. Have some of your own? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fbrennan.offwhite.net%2fblog%2f2007%2f06%2f21%2fcustom-exceptions-for-the-real-world%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fbrennan.offwhite.net%2fblog%2f2007%2f06%2f21%2fcustom-exceptions-for-the-real-world%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/Custom_Exceptions_for_the_Real_World</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/Custom_Exceptions_for_the_Real_World</guid>
      <pubDate>Fri, 22 Jun 2007 12:20:40 GMT</pubDate>
    </item>
    <item>
      <title>Throwing Exceptions in C#</title>
      <description>The thirty-fifth part of the C# Fundamentals tutorial completes an investigation of exception handling. In this article we will consider the throwing of exceptions to report error conditions.  This includes the use of standard and custom exception types. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.blackwasp.co.uk%2fCSharpThrowingExceptions.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.blackwasp.co.uk%2fCSharpThrowingExceptions.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Throwing_Exceptions_in_C</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Throwing_Exceptions_in_C</guid>
      <pubDate>Mon, 09 Apr 2007 21:10:16 GMT</pubDate>
    </item>
    <item>
      <title>Turn on 'all exceptions' and watch the fireworks fly</title>
      <description>Most developers run happily along only breaking when an exception in uncaught.  Did you know that you can stop and look and every single exception that's thrown?  If you do you might be amazed at what'g going on deep inside of your app. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.jeremyjarrell.com%2farchive%2f2007%2f02%2f15%2f4.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.jeremyjarrell.com%2farchive%2f2007%2f02%2f15%2f4.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Turn_on_all_exceptions_and_watch_the_fireworks_fly</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Turn_on_all_exceptions_and_watch_the_fireworks_fly</guid>
      <pubDate>Sat, 24 Feb 2007 18:01:01 GMT</pubDate>
    </item>
    <item>
      <title>Improve Exception Handling with Reflection and Generics.</title>
      <description>Building a better error trap!  These techniques can also be applied to Java 5. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.ittoolbox.com%2fvisualbasic%2fdotnet%2farchives%2fimprove-exception-handling-with-reflection-and-generics-8718"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.ittoolbox.com%2fvisualbasic%2fdotnet%2farchives%2fimprove-exception-handling-with-reflection-and-generics-8718" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Improve_Exception_Handling_with_Reflection_and_Generics</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Improve_Exception_Handling_with_Reflection_and_Generics</guid>
      <pubDate>Wed, 14 Feb 2007 14:16:01 GMT</pubDate>
    </item>
    <item>
      <title>Customize errors which are not captured by customErrors in ASP.NET 2.0</title>
      <description>In this post, we will talk about customizing error messages thrown by ASPNET when something goes wrong, specially the ones which can't be handled by CustomError tags, like error number 500, etc &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2frahulso%2farchive%2f2007%2f01%2f18%2fcustomizing-custom-error-in-asp-net.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2frahulso%2farchive%2f2007%2f01%2f18%2fcustomizing-custom-error-in-asp-net.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/Customize_errors_which_are_not_captured_by_customErrors_in_ASP_NET_2_0</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/Customize_errors_which_are_not_captured_by_customErrors_in_ASP_NET_2_0</guid>
      <pubDate>Thu, 18 Jan 2007 16:31:01 GMT</pubDate>
    </item>
    <item>
      <title>Try/Catch annoyances</title>
      <description>A suggestion on how try/catch blocks could be improved for clarity. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2flhunt%2farchive%2f2007%2f01%2f15%2ftry-catch-annoyances.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2flhunt%2farchive%2f2007%2f01%2f15%2ftry-catch-annoyances.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Try_Catch_annoyances</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Try_Catch_annoyances</guid>
      <pubDate>Mon, 15 Jan 2007 22:34:52 GMT</pubDate>
    </item>
    <item>
      <title>Throw New NotImplementedException Code Snippet </title>
      <description>The very simple code snippet for generating throw new NotImplementedException(); code and why it is better than returning some default value. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fvaultofthoughts.net%2fThrowNewNotImplementedExceptionCodeSnippet.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fvaultofthoughts.net%2fThrowNewNotImplementedExceptionCodeSnippet.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/visualstudio/Throw_New_NotImplementedException_Code_Snippet</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/visualstudio/Throw_New_NotImplementedException_Code_Snippet</guid>
      <pubDate>Tue, 10 Oct 2006 12:08:02 GMT</pubDate>
    </item>
    <item>
      <title>throw; vs. throw ex; Here's the difference!</title>
      <description>The difference is that throw; preserves the original stack trace and throw ex; truncates the stack trace below the method in which the throw ex; call is located. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmattgollob.blogspot.com%2f2006%2f08%2fthrow-vs-throw-ex-heres-difference.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmattgollob.blogspot.com%2f2006%2f08%2fthrow-vs-throw-ex-heres-difference.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/tipsandtricks/throw_vs_throw_ex_Here_s_the_difference</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/tipsandtricks/throw_vs_throw_ex_Here_s_the_difference</guid>
      <pubDate>Fri, 29 Sep 2006 17:01:01 GMT</pubDate>
    </item>
    <item>
      <title>If it takes forever to start your app with the debugger, check for thr</title>
      <description>There are quite of a few things that are just laws of Object-Oriented development, and one of those is that exceptions should be avoided.  If you can prevent an exception from being thrown, do it.   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fcodebetter.com%2fblogs%2fjeffrey.palermo%2farchive%2f2006%2f08%2f17%2f148387.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fcodebetter.com%2fblogs%2fjeffrey.palermo%2farchive%2f2006%2f08%2f17%2f148387.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/tipsandtricks/If_it_takes_forever_to_start_your_app_with_the_debugger_check_for_thr</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/tipsandtricks/If_it_takes_forever_to_start_your_app_with_the_debugger_check_for_thr</guid>
      <pubDate>Mon, 21 Aug 2006 11:01:01 GMT</pubDate>
    </item>
    <item>
      <title>The simplest error reporting in ASP.NET</title>
      <description>In ASP.NET 2.0 I'll show you how to get notified by e-mail when an unexpected error occurs - ONLY by editing the web.config. No C#/VB.NET code needed! &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.madskristensen.dk%2fblog%2fHealth%2bMonitoring%2bIn%2bASPNET%2b20.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.madskristensen.dk%2fblog%2fHealth%2bMonitoring%2bIn%2bASPNET%2b20.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/The_simplest_error_reporting_in_ASP_NET</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/The_simplest_error_reporting_in_ASP_NET</guid>
      <pubDate>Mon, 24 Jul 2006 11:01:01 GMT</pubDate>
    </item>
    <item>
      <title>Divide by Zero</title>
      <description>float/double values do not cause a divideByZero exception, they set the result to '+Infinity'. Why is this? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2frafats%2farchive%2f2006%2f07%2f20%2f673337.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2frafats%2farchive%2f2006%2f07%2f20%2f673337.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Divide_by_Zero</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Divide_by_Zero</guid>
      <pubDate>Fri, 21 Jul 2006 18:31:01 GMT</pubDate>
    </item>
    <item>
      <title>Choosing the Right Type of Exception to Throw</title>
      <description>After you have decided when you need to throw exceptions, the next step is to pick the right type of exception to throw. This section provides those guidelines. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2fkcwalina%2farchive%2f2006%2f07%2f05%2f657268.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2fkcwalina%2farchive%2f2006%2f07%2f05%2f657268.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/tipsandtricks/Choosing_the_Right_Type_of_Exception_to_Throw</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/tipsandtricks/Choosing_the_Right_Type_of_Exception_to_Throw</guid>
      <pubDate>Sun, 09 Jul 2006 22:31:01 GMT</pubDate>
    </item>
  </channel>
</rss>
