Home / General / Don't catch all exceptions
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Don't catch all exceptions

One of the best practices on exception is don't catch all exceptions. There are many reasons why this is a best practice. For example, You want to look at the application state when the exception is thrown so that you can understand exactly why the exception is thrown. The exact state is often lost when exception is caught and application is continued.


Here is another example why should not catch all the exceptions.


One team found a strange deadlock when turning on fusion binding log. After a long try and diagnose, we finally understand what is going on.


By default f








Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites