Exception Classes Should Extend an Exception
Impact area
Manageability
Severity
high
Affected element
Salesforce
Apex Class
Rule ID
SF-EXCEPTION-NOT-EXTEND-EXCEPTION
Impact
If a class named Exception does not inherit from the base class Exception or one of its subclasses, standard exception handling functionalities are lost.
Remediation
Ensure that if you create an exception class, it inherits from the base class Exception or one of its subclasses.
Time to fix
15 min