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.
Exceptions
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Dec 8, 2014, 9:06 AM EST
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
Marc176 reputationPosted Dec 8, 2014, 9:13 AM EST