Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam CRT-450 All Questions
Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Salesforce Developers CRT-450 Question # 68 Topic 7 Discussion

CRT-450 Exam Topic 7 Question 68 Discussion:
Question #: 68
Topic #: 7

A developer creates a custom exception as shown below:

public class ParityException extends Exception { }

What are two ways the developer can fire the exception in Apex?


A.

throw new ParityException ();


B.

throw new parityException ('parity does not match');


C.

new ParityException ();


D.

new ParityException('parity does not match');


Get Premium CRT-450 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.