<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com - Stories tagged with Exception</title>
    <description>the latest stories tagged with 'Exception' 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>Exception Handling - Do's and Dont's</title>
      <description>Exceptions provide a consistent mechanism for identifying and responding to error conditions. Effective exception handling will make code more robust and easier to debug. Exceptions are a tremendous debugging aid because they help answer...

 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdotnethitman.spaces.live.com%2fblog%2fcns!E149A8B1E1C25B14!131.entry"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdotnethitman.spaces.live.com%2fblog%2fcns!E149A8B1E1C25B14!131.entry" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Exception_Handling_Do_s_and_Dont_s</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Exception_Handling_Do_s_and_Dont_s</guid>
      <pubDate>Thu, 08 May 2008 01:16:02 GMT</pubDate>
    </item>
    <item>
      <title>Short n' sweet on throwing exceptions</title>
      <description>All those preaching what is best, here is an explanation so you can figure out the best for you &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.nosoupforme.com%2farchive%2fmakes-me-wanna-throw-ex-10%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.nosoupforme.com%2farchive%2fmakes-me-wanna-throw-ex-10%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Short_n_sweet_on_throwing_exceptions</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Short_n_sweet_on_throwing_exceptions</guid>
      <pubDate>Fri, 30 Nov 2007 23:21:25 GMT</pubDate>
    </item>
    <item>
      <title>Why throw; is not allways  the best way to rethrow exceptions</title>
      <description>This blog post explains why the standard throw; approach of rethrowing exceptions is not the best in case you care of the full stack trace information &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblog.vuscode.com%2fmalovicn%2farchive%2f2007%2f04%2f01%2fgotcha-improper-exception-handling.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblog.vuscode.com%2fmalovicn%2farchive%2f2007%2f04%2f01%2fgotcha-improper-exception-handling.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/tipsandtricks/Why_throw_is_not_allways_the_best_way_to_rethrow_exceptions</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/tipsandtricks/Why_throw_is_not_allways_the_best_way_to_rethrow_exceptions</guid>
      <pubDate>Fri, 30 Nov 2007 21:01:02 GMT</pubDate>
    </item>
    <item>
      <title>Re-throwing an exception in .NET; the right way.</title>
      <description>This is one of those &amp;quot;Yeah I've always seen people use it differently but I don't know why!&amp;quot; questions. Re-throwing exceptions can be misused, although it may not cause any harm to your application - there are multiple ways of re-throwing an exception, most likely for the purpose of bubbling it up to a higher level. Note to Java developers: It is different in your world. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblog.dotnetclr.com%2farchive%2f2007%2f11%2f05%2fRe-throwing-an-exception.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblog.dotnetclr.com%2farchive%2f2007%2f11%2f05%2fRe-throwing-an-exception.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/tipsandtricks/Re_throwing_an_exception_in_NET_the_right_way</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/tipsandtricks/Re_throwing_an_exception_in_NET_the_right_way</guid>
      <pubDate>Fri, 30 Nov 2007 00:46:02 GMT</pubDate>
    </item>
    <item>
      <title>Exception Handling Techniques in C# 2.0</title>
      <description>Believe me handling exception is one of the toughest things to do for a programmer. It taking your wife for shopping to a very expensive place and allowing her to choose what she wants to buy. :-)
Exception handling techniques explained in a best possible way.
 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2faspalliance.com%2f1119"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2faspalliance.com%2f1119" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Exception_Handling_Techniques_in_C_2_0</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Exception_Handling_Techniques_in_C_2_0</guid>
      <pubDate>Wed, 07 Nov 2007 04:31:01 GMT</pubDate>
    </item>
    <item>
      <title>.Net: Passing user data with Exception back to the caller method</title>
      <description>A simple way of passing any user data in the Exception back to the caller method. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.sqlteam.com%2fmladenp%2farchive%2f2007%2f09%2f24%2f.Net-Passing-user-data-with-Exception-back-to-the-caller.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.sqlteam.com%2fmladenp%2farchive%2f2007%2f09%2f24%2f.Net-Passing-user-data-with-Exception-back-to-the-caller.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Net_Passing_user_data_with_Exception_back_to_the_caller_method</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Net_Passing_user_data_with_Exception_back_to_the_caller_method</guid>
      <pubDate>Tue, 25 Sep 2007 06:31:01 GMT</pubDate>
    </item>
    <item>
      <title>Reporting Exceptions through E-Mail </title>
      <description>One of the terrible things we as developers have to deal with is unhandled exceptions, we all have them good and bad developers. The problem is that no matter how well thought out an application may be we will always have holes that we never anticipated. Unfortunately one day an end user will find it and our application will ungracefully blow up. This article is a simple error reporting routine to e-mail exception details. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fprofessionalaspnet.com%2farchive%2f2007%2f09%2f19%2fCures-for-the-Common-Ailments-_2D00_-Part-5_3A00_-Reporting-Exceptions-through-E_2D00_Mail.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fprofessionalaspnet.com%2farchive%2f2007%2f09%2f19%2fCures-for-the-Common-Ailments-_2D00_-Part-5_3A00_-Reporting-Exceptions-through-E_2D00_Mail.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/Reporting_Exceptions_through_E_Mail</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/Reporting_Exceptions_through_E_Mail</guid>
      <pubDate>Thu, 20 Sep 2007 14:01:02 GMT</pubDate>
    </item>
    <item>
      <title>String.IsNullOrEmpty can lead to runtime Null exceptions!</title>
      <description>The author shows a flaw in String.IsNullOrEmpty of the .NET 2.0. Microsoft replies that this bug won't be fixed until Orcas. (see bug report at: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=113102 ) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fmsmvps.com%2fblogs%2fbill%2farchive%2f2006%2f04%2f04%2f89234.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fmsmvps.com%2fblogs%2fbill%2farchive%2f2006%2f04%2f04%2f89234.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/clr/String_IsNullOrEmpty_can_lead_to_runtime_Null_exceptions</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/clr/String_IsNullOrEmpty_can_lead_to_runtime_Null_exceptions</guid>
      <pubDate>Tue, 19 Jun 2007 15:31:01 GMT</pubDate>
    </item>
    <item>
      <title>C# Exception Handling</title>
      <description>The thirty-fourth part of the C# Fundamentals tutorial begins a review of exception handling. When an unexpected event occurs, unhandled exceptions cause a program to exit abnormally. Correct handling permits the graceful recovery from an error condition. &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%2fCSharpExceptionHandling.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.blackwasp.co.uk%2fCSharpExceptionHandling.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/C_Exception_Handling</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/C_Exception_Handling</guid>
      <pubDate>Thu, 29 Mar 2007 13:33:48 GMT</pubDate>
    </item>
    <item>
      <title>Throw vs Throw ex</title>
      <description>A common mistake a lot of new .Net developers do is using Throw ex instead of just Throw. The difference between Throw ex and Throw is very simple but can cause major headaches when it comes to maintenance. If you use Throw ex it overwrites the stack trace this makes it very hard to find the original line of the thrown exception as you can see in the example I have provided. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fthesprage.com%2fDasBlog%2fPermaLink%2cguid%2c711465f4-bc37-4d36-862b-f33a3008b822.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fthesprage.com%2fDasBlog%2fPermaLink%2cguid%2c711465f4-bc37-4d36-862b-f33a3008b822.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/vbnet/Throw_vs_Throw_ex</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/vbnet/Throw_vs_Throw_ex</guid>
      <pubDate>Wed, 27 Dec 2006 10:10:03 GMT</pubDate>
    </item>
    <item>
      <title>More on best practices for exception handling</title>
      <description>Bill Wagner (author of &amp;quot;Effective C#&amp;quot;), adds his smart thoughts to Scott Hansleman's post on best practices for exception handling. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.srtsolutions.com%2fpublic%2fitem%2f140466"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.srtsolutions.com%2fpublic%2fitem%2f140466" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/architecture/More_on_best_practices_for_exception_handling</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/architecture/More_on_best_practices_for_exception_handling</guid>
      <pubDate>Mon, 04 Sep 2006 03:31:02 GMT</pubDate>
    </item>
  </channel>
</rss>