<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Exception handling' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Exception handling' posted on the 'C#' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 18 May 2013 14:38:17 -0700</pubDate>
    <lastBuildDate>Sat, 18 May 2013 14:38:17 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Exception handling</title>
      <link>http://www.programmersheaven.com/mb/csharp/232261/232261/exception-handling/</link>
      <description>Gday everyone.&lt;br /&gt;
&lt;br /&gt;
Id like to create a file to save all exception messages, so I added code to most of catch my catches, and the good thing is it works.&lt;br /&gt;
Now I tried the same thing as release version but dont get any results!! File stays the way it is.&lt;br /&gt;
&lt;br /&gt;
Can anyone help?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/232261/232261/exception-handling/</guid>
      <pubDate>Thu, 18 Dec 2003 06:35:01 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Re: Exception handling</title>
      <link>http://www.programmersheaven.com/mb/csharp/232261/232338/re-exception-handling/#232338</link>
      <description>: Gday everyone.&lt;br /&gt;
: &lt;br /&gt;
: Id like to create a file to save all exception messages, so I added code to most of catch my catches, and the good thing is it works.&lt;br /&gt;
: Now I tried the same thing as release version but dont get any results!! File stays the way it is.&lt;br /&gt;
: &lt;br /&gt;
: Can anyone help?&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
Is it possible you are not gettinh any errors. Because a Catch doesn't execute when no exceptions are thrown.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/232261/232338/re-exception-handling/#232338</guid>
      <pubDate>Thu, 18 Dec 2003 12:23:22 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Re: Exception handling</title>
      <link>http://www.programmersheaven.com/mb/csharp/232261/232494/re-exception-handling/#232494</link>
      <description>: Is it possible you are not gettinh any errors. Because a Catch doesn't execute when no exceptions are thrown.&lt;br /&gt;
: &lt;br /&gt;
Nope, Ive made a little calculator to test, before I dare to implement it into the companys product.&lt;br /&gt;
&lt;br /&gt;
I can create a variety of exceptions. going through with debug no problem. This is not possible in release of course. Didnt find anything mentioned in docu about different handling of exceptions for release/debug either. One thing I found out: string of Exception is different in the two versions. In release it doesnt contain any path information. This caused my test app to crash in release.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/232261/232494/re-exception-handling/#232494</guid>
      <pubDate>Fri, 19 Dec 2003 06:02:21 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Re: Exception handling</title>
      <link>http://www.programmersheaven.com/mb/csharp/232261/232518/re-exception-handling/#232518</link>
      <description>: : Is it possible you are not gettinh any errors. Because a Catch doesn't execute when no exceptions are thrown.&lt;br /&gt;
: : &lt;br /&gt;
: Nope, Ive made a little calculator to test, before I dare to implement it into the companys product.&lt;br /&gt;
: &lt;br /&gt;
: I can create a variety of exceptions. going through with debug no problem. This is not possible in release of course. Didnt find anything mentioned in docu about different handling of exceptions for release/debug either. One thing I found out: string of Exception is different in the two versions. In release it doesnt contain any path information. This caused my test app to crash in release.&lt;br /&gt;
: &lt;br /&gt;
: Thanks.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
That would be because the release version does not compile w/ the Debug symbols, so .NET has no way of telling you which line an exception has occured. You may need to change the way you log your exceptions.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/232261/232518/re-exception-handling/#232518</guid>
      <pubDate>Fri, 19 Dec 2003 08:45:34 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Re: Exception handling</title>
      <link>http://www.programmersheaven.com/mb/csharp/232261/232906/re-exception-handling/#232906</link>
      <description>: That would be because the release version does not compile w/ the Debug symbols, so .NET has no way of telling you which line an exception has occured. You may need to change the way you log your exceptions.&lt;br /&gt;
: &lt;br /&gt;
Okay, I figured there is no path and line info in release so I changed code. Works okay now, but is no as helpful as debug.&lt;br /&gt;
&lt;br /&gt;
thanks and merry X-mas&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/232261/232906/re-exception-handling/#232906</guid>
      <pubDate>Mon, 22 Dec 2003 01:05:06 -0700</pubDate>
      <category>C#</category>
    </item>
  </channel>
</rss>