Notifications
Clear all
Topic starter
10/09/2022 10:43 pm
Which of the following exceptions cannot be caught and will force an error? (Choose three.)
- A . LimitException
- B . AssertException
- C . SObjectExceptions
- D . DMLException
- E . License exceptions
- F . ListException
Suggested Answer: A,B,E
Explanation:
Reference: SObjectException occurs when accessing a field not queried, or you try to change a field during the wrong dml statement (i.e. an edit-only field being set on insert) Custom exceptions must extend the "Exception" class
Explanation:
Reference: SObjectException occurs when accessing a field not queried, or you try to change a field during the wrong dml statement (i.e. an edit-only field being set on insert) Custom exceptions must extend the "Exception" class