Activity › Forums › Salesforce® Discussions › What are various standard exceptions that salesforce throws?

  • What are various standard exceptions that salesforce throws?

    Posted by Anuj on September 18, 2020 at 12:46 PM

    What are various standard exceptions that salesforce throws?

    Sumit kumar replied 6 years ago 3 Members · 2 Replies
  • 2 Replies
  • Kirandeep

    Member
    September 18, 2020 at 2:50 PM

    There are number of Exception,

    • AsyncException

    Any problem with an asynchronous operation, such as failing to enqueue an asynchronous call.

    • CalloutException

    Any problem with a Web service operation, such as failing to make a callout to an external system.

    • DmlException

    Any problem with a DML statement, such as an insert statement missing a required field on a record.

    • JSONException

    Any problem with JSON serialization and deserialization operations.

  • [adinserter block='9']
  • Sumit kumar

    Member
    September 20, 2020 at 8:39 AM

    There are number of Exception,

    • AsyncException

    Any problem with an asynchronous operation, such as failing to enqueue an asynchronous call.

    • CalloutException

    Any problem with a Web service operation, such as failing to make a callout to an external system.

    • DmlException

    Any problem with a DML statement, such as an insert statement missing a required field on a record.

    • JSONException

    Any problem with JSON serialization and deserialization operations.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos