Inspectopedia
 
2024.3

Empty 'try' block

Warning
Last modified: 03 December 2024

Reports empty try blocks, including try-with-resources statements.

try blocks with comments are considered empty.

This inspection doesn't report empty try blocks found in JSP files.