Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce catch clause analysis: Exception is not thrown from try block #23

Open
RicoSuter opened this issue Dec 2, 2015 · 1 comment

Comments

@RicoSuter
Copy link
Member

Try to detect redundant catch clauses by examining exceptions thrown from inside of try block.

https://exceptional.codeplex.com/workitem/2342

@jongleur1983
Copy link

Is this possible?
As far as I understand Exceptional yet, it only checks possibly thrown exceptions over one call hierarchy level (at least documentation is not reported as missing two levels above a throwing or documented method).
To detect a redundant catch clause, this would not be enough since the documentation tags are a convention, but not a requirement of the compiler, thus in any case an unknown exception is possible to be thrown in the abyss of unknown code.

I might be wrong - and would be happy to learn more in that case ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants