Salesforce
CRT-450 · Question #5
CRT-450 Question #5: Real Exam Question with Answer & Explanation
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #5. The question stem and answer options stay visible for context.
Question
A developer has a Visualforce page and custom controller to save Account records. The developer wants to display any validation rule violation to the user. How can the developer make sure that validation rule violations are displayed?
Options
- AAdd cuatom controller attributes to display the message.
- BInclude apex:message on the Visualforce page.
- CUse a try/catch with a custom exception class.
- DPerform the DML using the Database.upsert() method.
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.