When looking at code, what is the best way to determine what exception might be thrown during runtime? Right now this old code has a very general exception try, catch block so I am trying to cover all my bases without making a general exception.
I should point out that I can't debug because its running hand in hand with the database, so it will call multiple errors.
Loading
VulpesPosted Dec 8, 2014, 2:06 PM
So, for example, if you're using the StreamReader constructor, this page lists the possible exceptions you may get:
http://msdn.microsoft.com/en-us/library/f2ke0fzy(v=vs.110).aspx
MarcPosted Dec 8, 2014, 2:13 PM