Avoid empty Catch Block

Impact area

Manageability

Severity

Medium

Affected element

Apex  Class

Rule ID

SF-0039

Impact

Empty catch blocks will cause exceptions to be caught silently.


Remediation

Explicitly handle any exceptions caught.

Time to fix

30 min

What's here


Related content

PMD - Apex Class rules

PMD: EmptyCatchBlock





Last modified on Jun 10, 2020