views:

132

answers:

2

I am doing a code review of a large SharePoint project.

One thing that I need to check is that there are no unhandled exceptions.

We allow exceptions to "buble up", so in many cases they will not be caught before the UI layer (web part).

Is there a way to get a list of all methods that have code outside a try catch block?

+1  A: 

This post already contains some pointers to the problem: http://stackoverflow.com/questions/232318/checked-exception-catching-in-c

GaussZ