Empty 'catch' block

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: