...
Exceptions are used to handle exceptional conditions. If an exception is not caught, the thread will be terminated, which may cause the program to exit. An exception that is incorrectly caught or is caught at the wrong level of recovery will often cause incorrect behavior.
Automated Detection
Tool | Version | Checker | Description |
---|
SonarQube Java PluginParasoft Jtest | | CERT.ERR51.NCE | Do not catch exception types which are too general or are unchecked exceptions |
SonarQube | |
Java Plugin Java Plugin |
Bibliography
...
...
Image Modified Image Modified Image Modified