Avoid Losing Exception Information

< 1 min read

Impact Area

Manageability

Severity

High

Affected Element

Apex Class

Rule ID #

SF-AVOID-LOSING-EXCEPTION-INFO

Impact #

This rule verifies that there are no expressions with multiple single-operators. If such a case is detected, an issue is reported to check whether it is an error (such as a typo) or if the complexity of using multiple single-operators is genuinely needed

Remediation #

Either remove the invocation, or use the return result.

Time to fix #

15 min

Updated on March 21, 2025
Was it helpful ?