<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Rob Rentz</title><link>http://weblogs.asp.net/rrentz/default.aspx</link><description>Welcome to my Blogging Paradise</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Exceptions and StackTrace</title><link>http://weblogs.asp.net/rrentz/archive/2004/04/26/120546.aspx</link><pubDate>Mon, 26 Apr 2004 20:35:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:120546</guid><dc:creator>robdrentz</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/rrentz/rsscomments.aspx?PostID=120546</wfw:commentRss><comments>http://weblogs.asp.net/rrentz/archive/2004/04/26/120546.aspx#comments</comments><description>&lt;div class="Section1"&gt; &lt;p&gt;&lt;font size="2" face="Verdana"&gt;&lt;span style='font-size:10.0pt;font-family:Verdana'&gt;Using the StackTrace within the Exception object is very cool. I am a little confused with one thing though and that is re-throwing an exception. Examining the stack trace within the called method (where the error occurs) reveals the exact line number of the exception - very cool.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2" face="Verdana"&gt;&lt;span style='font-size:10.0pt;font-family:Verdana'&gt;From there, I typically just say 'Throw', not re-throwing a new exception, which would then hit the try/catch of the calling method. Looking at the stack trace again here now replaces the originating line number of the error w/ the line number of the 'Throw'.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2" face="Verdana"&gt;&lt;span style='font-size:10.0pt;font-family:Verdana'&gt;What I don't understand is how to determine the originating line number of the exception from the "root" method. Heck, I'm not even sure if line numbers will show in a production release build of the code?!?!&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2" face="Verdana"&gt;&lt;span style='font-size:10.0pt;font-family:Verdana'&gt;I'd love to hear from anyone really familiar with exception handling.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;span style='font-size:12.0pt'&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=120546" width="1" height="1"&gt;</description></item><item><title>In The Beginning</title><link>http://weblogs.asp.net/rrentz/archive/2003/11/12/37194.aspx</link><pubDate>Wed, 12 Nov 2003 21:52:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:37194</guid><dc:creator>robdrentz</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/rrentz/rsscomments.aspx?PostID=37194</wfw:commentRss><comments>http://weblogs.asp.net/rrentz/archive/2003/11/12/37194.aspx#comments</comments><description>&lt;P&gt;After a couple months of reading many of your postings, I thought I'd jump into the mix! Many thanks to Scott W for letting me play :-)&lt;/P&gt;
&lt;P&gt;Now the standard introduction type stuff: I live and work in Pittsburgh, PA as a senior software engineer. I've been using .NET for a couple of years now (hard to believe its been that long), mostly on the ASP.NET side.&lt;/P&gt;
&lt;P&gt;Hope to get to know alot of you! Cheers.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=37194" width="1" height="1"&gt;</description></item></channel></rss>