eWorld.UI - Matt Hawley

Ramblings of Matt

Throw vs. Throw ex

November 30, 2004 18:21 by matthaw
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?

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: .NET
Actions: E-mail | Permalink | Comments (4) | Comment RSSRSS comment feed

Comments

November 30. 2004 18:41

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;)

Jeffrey Palermo

November 30. 2004 18:43

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

Matt Hawley

November 30. 2004 18:47

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 ;)

Adam Weigert

November 30. 2004 19:55

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 ;)

Scott C Reynolds

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

August 28. 2008 04:34



Copyright © 2000 - 2008 , Excentrics World