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.