Activity Forums Salesforce® Discussions Which two statement can a developer use to throw a custom exception of type Miss

  • Which two statement can a developer use to throw a custom exception of type Miss

    Posted by Marziya on July 22, 2020 at 2:20 pm

    Which two statement can a developer use to throw a custom exception of type MissingFieldValueException?

    Aditya replied 4 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • Aditya

    Member
    July 22, 2020 at 2:30 pm

    throw new MissingFieldValueException('Problem occurred');
    throw (MissingFieldValueException, 'Problem occurred');

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos