Try statement issues
- 'continue' or 'break' inside 'finally' block
Reports a break or continue statement inside a finally block.
- 'return' inside 'finally' block
Reports a return statement inside a finally block.
- 'throw' inside 'finally' block
Reports s throw statement inside a finally block.
- Empty 'catch' block
Reports an empty catch block.
- Empty 'finally' block
Reports an empty finally block, which usually indicates an error.
- Empty 'try' block
Reports an empty try block, which usually indicates an error.
- Exception used for local control-flow
Reports a throw statement whose exceptions are always caught by the containing try statement.
- Unused 'catch' parameter
Reports a catch parameter that is not used in the corresponding block.
Last modified: 11 September 2024