Which three statements are true regarding custom exceptions in Apex? (Choose three.)

Which three statements are true regarding custom exceptions in Apex? (Choose three.)
A . A custom exception class must extend the system Exception class.
B . A custom exception class can implement one or many interfaces.
C . A custom exception class cannot contain member variables or methods.
D . A custom exception class name must end with “Exception”.
E . A custom exception class can extend other classes besides the Exception class.

Answer: B,D,E

Latest PDI Dumps Valid Version with 191 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Arham
Arham
11 months ago

ABD are correct

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_exception_custom.htm

“To create your custom exception class, extend the built-in Exception class and make sure your class name ends with the word Exception, such as “MyException” or “PurchaseException”.”