SpicyCode

The ramblings of Chad Humphries

Re-throwing exceptions

Oleg Tkachenko has posted a nice quick write-up on why it’s important to rethrow more specific exceptions, or just to use throw.   Don’t rethrow the same exception with no added info!

Signs on the Sand: Re-throwing exceptions – a subtle difference between Java and .NET you better be aware of

http://www.tkachenko.com/blog/archives/000352.html

Advertisements

Written by spicycode

December 3, 2004 at 6:16 pm

Posted in programming

Tagged with

%d bloggers like this: