Inspectopedia
 
2024.3

Empty 'catch' block

Warning
Reliability
Last modified: 03 December 2024

Reports empty catch blocks. While occasionally intended, empty catch blocks can make debugging extremely difficult.

Example:

After the quick-fix is applied: