Inspectopedia Help

Error handling

Redundant catch clause  

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

Unhandled exception  

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

Wrong catch clauses order  

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

Last modified: 18 June 2024