Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Exception Analyzer
Exception Analyzer

Exception Analyzer

Sergey Teplyakov

|
1,616 installs
| (3) | Free
Simple analyzer that warns about the most common code smells related to excpetion handling.
Download

Very simple Roslyn-based analyzer that shows common code smells related to exception handling.

- Supported features- Warning for `throw ex;` with a fix to `throw;`.

- Warning and fix for empty generic catch block and `catch(Exception){}`.

- Warning for swallowed exceptions in the `catch(Exception ex)` blocks.

- Warning for using `ex.Message` if this is the only exception observation. With a fix!

More information is available on the tool's official web-site at https://github.com/SergeyTeplyakov/ExceptionAnalyzer

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft