Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Checked Exceptions
Checked Exceptions

Checked Exceptions

Yoav Frandzel

|
2,561 installs
| (10) | Free
Poor man's checked exceptions for C#. Checks for unhandled exceptions, violations of Liskov's Substitution Principle and other potential errors in exception handling.
Download

#Checked exceptions for C#

Don't let your customers be the first to discover those unexpected exceptions hiding in your code.

Exceptions are "declared" in a method's XML documentation. Take advantage of the existing exception documentation in the .Net framework.

You can adopt Java style checked exception handling, or easily fall back to the .Net style exception handling. It's up to you. Either way, your code will be better documented.

ScreenCapture_12-8-2018-9.12.58-PM.gif

##Some exceptions can be considered "Runtime" exceptions. It's up to you checked3__1.png

##Auto-generate short exception comments based on methods' access modifiers checked1.png

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