Catch All vs. Catch Explicit…

by Mwwhited 12. May 2010 20:37
I knew I liked writing my try{} catch{} blocks to catch all exceptions instead of explicit Exceptions… but I always had a hard time explaining why.  Most of the time I would just point out that I typically write backend long life processes that must be very reliable and must avoid causing the process to fail as much as possible.  But I would like to thank Dhanji R. Prasanna from his book Dependency Injection: Design Patterns using Spring and Guice.  Giving me a great example. ... [More]

Tags:

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

RecentPosts

Badges