Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 392 Bytes

EmptyCatchBlock.md

File metadata and controls

11 lines (9 loc) · 392 Bytes

EmptyCatchBlock

Category: pmd
Rule Key: pmd:EmptyCatchBlock

⚠️ This rule is deprecated in favour of S108.


Empty Catch Block finds instances where an exception is caught, but nothing is done. In most circumstances, this swallows an exception which should either be acted on or reported.