Activity Forums Salesforce® Discussions What is custom exception in apex?

  • Marziya

    Member
    July 22, 2020 at 2:19 pm

    Create Custom Exceptions. You can't throw built-in Apex exceptions. ... But with custom exceptions, you can throw and catch them in your methods. Custom exceptions enable you to specify detailed error messages and have more custom error handling in your catch blocks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos