Throw vs. Throw ex

Published 30 November 04 09:21 AM | mhawley
Thanks to Jackie pointing to this entry, I now realize the importance of using throw versus throw ex. How many of you actually realized that?
Filed under:

Comments

# Jeffrey Palermo said on November 30, 2004 12:41 PM:

Since you asked. . . I knew that. . . and I only knew that because I read a lot. I pose another question: Have you read the .Net SDK? Microsoft really got it right with this set of documentation. If you are thinking of buying a .Net book, read the free SDK documentation first. It is really great and will give you all the in-depth knowledge you need to know (like the behavior difference of throw {var}; vs. throw;)

# Matt Hawley said on November 30, 2004 12:43 PM:

No, I actually haven't read the SDK, I unfortunately don't get paid to do that at work.

# Adam Weigert said on November 30, 2004 12:47 PM:

I know that too. Though it is one of the most common mistakes I see in programs. I too only knew because I used to live and breath documentation and blogs to the point of I was sort of obsessed with it and spent way too much time doing that vs coding ;)

# Scott C Reynolds said on November 30, 2004 01:55 PM:

well I didn't know it! so thanks for passing it along!

I haven't read the SDK either...there's so much to read and so little time, especially what with Halo 2 and all ;)

This Blog

News

.NET Links

Blogs I Read

Syndication