vetkit.java.quality.catch-throwable
Catching Throwable or Error also catches OutOfMemoryError, StackOverflowError and other conditions the application cannot recover from.
Last updated:
Suite: Code quality
java
Catching Throwable or Error also catches OutOfMemoryError, StackOverflowError and other conditions the application cannot recover from.
Category: QUALITY · Engine rule severity: INFO
How to fix it
Catch Exception or, better, the specific checked exceptions you expect.
References
Source: packages/engine/rules/quality/java.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.