In C#, how do I know which exceptions to catch?

Posted by user327918 on Stack Overflow See other posts from Stack Overflow or by user327918
Published on 2010-04-28T13:57:30Z Indexed on 2010/04/28 14:03 UTC
Read the original article Hit count: 143

I've gotten in the habit of using a general catch statement and I handle those exceptions in a general manner. Is this bad practice? If so, how do I know which specific exceptions could be thrown and which ones do I catch?

© Stack Overflow or respective owner

Related posts about c#

Related posts about exception