Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unhandled Exception checker plugin for Visual Studio

I would like to be able, at compile time, to ask any given method what possible Exceptions might get thrown by invoking it. The list of Exceptions should include any uncaught Exception that might get thrown in any nested method invokation. Caught Exceptions should not be included in the list as I'm only interested in the Exceptions that might bubble up to my own code.

Does a plug-in for Visual Studio with that feature or something similar exist?

It would be great if this plug-in were also able to assist in the documentation of my code.

Edit:
Similar question: Checked exception catching in C#

like image 473
TOS Avatar asked Jun 20 '09 06:06

TOS


1 Answers

I actually just found the site, it's Red-Gate that has a tool called Exception Hunter, which pretty much does this.

Not right:
I am fairly certain one of the DevExpress products includes a plugin that can do (something like?) this.

like image 109
jerryjvl Avatar answered Nov 15 '22 01:11

jerryjvl