ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 170 - Certified Platform Developer II discussion

Report
Export

Which of the following exceptions cannot be caught and will force an error? (Choose three.)

A.
LimitException
Answers
A.
LimitException
B.
AssertException
Answers
B.
AssertException
C.
SObjectExceptions
Answers
C.
SObjectExceptions
D.
DMLException
Answers
D.
DMLException
E.
License exceptions
Answers
E.
License exceptions
F.
ListException
Answers
F.
ListException
Suggested answer: A, B, E

Explanation:

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

asked 23/09/2024
Zulkarnain Hashim
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first