Note that there are some explanatory texts on larger screens.

plurals
  1. POWay to automatically see which functions can potentially return exception in c#
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COThe link from dariom with the interview of Anders Hejlsberg contained an interesting quote exactly explaining my point: "But that said, there's certainly tremendous value in knowing what exceptions can get thrown, and having some sort of tool that checks. I don't think we can construct hard and fast rules down to, it is either a compiler error or not. But I think we can certainly do a lot with analysis tools that detect suspicious code, including uncaught exceptions, and points out those potential holes to you"
      singulars
    2. COFxCop is such a tool, but afaik it doesn't warn you about uncaught exceptions.. quite contrary: http://blogs.msdn.com/fxcop/archive/2006/06/14/631923.aspx
      singulars
    3. COthe article you link too talks about general exception clauses: catch(Exception e) and try to handle it generally. They make the point of specifying the exceptions you want to deal with and let the rest flow. I agree totally, but my point still stands: please point out which exceptions I've missed and actually do not handling. The exception hunter tool seems to do exactly what I need though. I'll have a play with it tomorrow to see what kind of analysis it does and report back here.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload