Inspectopedia Help

Error handling

'continue' or 'break' from 'finally' block  

Reports break and continue statements inside of finally blocks.

'return' inside 'finally' block  

Reports return statements inside of finally blocks.

'throw' inside 'finally' block  

Reports throw statements inside of finally blocks.

Empty 'catch' block  

Reports empty catch blocks.

Empty 'finally' block  

Reports empty finally blocks.

Empty 'try' block  

Reports empty try blocks.

Unused 'catch' parameter  

Reports catch parameters that are unused in their corresponding blocks.

Last modified: 18 June 2024