I know that dealing with exceptions can be difficult if you don't know what exceptions could be thrown. Is there a site or a way to find all the possible exceptions that your code could throw? Maybe even a plug-in for VS? I know I don't want to catch an exception that I may not know how to handle and just let it drop. Any help would be appreciated.
Loading
MarcPosted Dec 18, 2014, 10:40 AM
VulpesPosted Dec 18, 2014, 9:06 AM
http://www.c-sharpcorner.com/Forums/Thread/277934/
I always refer to MSDN for this.
There is a free tool called Exception Reflector which (subject to some limitations) can help with this but I''d read through this SO thread first (and the comments of Marc Gravell in particular) before you look at that:
http://stackoverflow.com/questions/264747/finding-out-what-exceptions-a-method-might-throw-in-c-sharp
https://github.com/stevesheldon/ExceptionReflector