What would the developer use? A developer creates a method in an Apex - ProProfs Discuss
Topics
Products
Follow Us:

What would the developer use? A developer creates a method in an Apex class and needs to ensure that errors are handled properly.

This question is part of Salesforce Platform Developer 1
Asked by Cmduquer, Last updated: Jan 11, 2020

+ Answer
Request

1 Answer

cmduquer

Cmduquer

Answered Aug 24, 2018

A custom exception
.addError()
A try/catch construct

####
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.