Exception handling
From WhyNotWiki
Software Development & Beyond » Blog Archive » Do’s and Dont’s for exception handlingSoftware Development & Beyond » Blog Archive » Do’s and Dont’s for exception handling (http://www.mortench.net/blog/2006/08/08/dos-and-donts-for-exception-handling-or-what-every-developer-should-know-about-the-implementation-of-exception-handling/).
- Do use exception handling for error handling only (not for control flow).
- Don’t use try-catch-finally constructs inside hot-spots (i.e. loops and such) if it can be avoided. Do the try-catch at a higher level that is called less often.
