Exam4Training

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

A developer creates a custom exception as shown below:

What are two ways the developer can fire the exception in Apex? Choose 2 answers
A . Throw new ParityException (parity does not match);
B . New ParityException( );
C . New ParityException (parity does not match);
D . Throw new parityException ( );

Answer: A,D

Latest PDI Dumps Valid Version with 191 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version