Inspectopedia Help

Error handling

Redundant catch clause   New in this release

Reports the catch clauses with exceptions that are never thrown from the corresponding try block.

Unhandled exception   New in this release

Reports the exceptions that are neither enclosed in a try-catch block nor documented via the @throws tag.

Wrong catch clauses order   New in this release

Reports the exceptions that are already caught by a preceding exception and the exceptions that are caught twice.

Last modified: 11 September 2024