Inspectopedia 2024.3 Help

Error handling

'continue' or 'break' from 'finally' block   New in this release

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: 11 September 2024