Do not use empty catch blocks
Catch blocks should handle or rethrow exceptions.
Search documentation pages and rules
Search documentation pages and rules
Catch blocks should handle or rethrow exceptions.
java.correctness.empty-catchEmpty catches hide failures and make debugging difficult.
Log, recover, or rethrow the exception with context.
The generated metadata points to critiq-rules/libs/rules/catalog/rules/java/java.correctness.empty-catch.rule.yaml.