List of questions
Related questions
Question 221 - Certified Platform Developer II discussion
A developer is inserting, updating, and deleting multiple lists of records in a Single transaction and wants to ensure that any error prevents all execution.
How should the developer implement error exception handling in their code to handle this?
A.
Use Database methods to obtain lists of Database.SaveResults.
B.
Use Database.setSavepoint() and Database.rollBack() with a Try/Catch statement.
C.
Use a Try/Catch and use sObject.addError() on any failures.
D.
Use a Try/Catch statement and handle DML cleanup in the catch statement.
Your answer:
0 comments
Sorted by
Leave a comment first