Master the concepts of Salesforce in just 45 days Click here to know more.
8
10
58
27
Premium Salesforce Weekend Batch Start From Tomorrow.
An exception denotes an error or event that disrupts the normal flow of code execution.
Exception disrupts the normal flow of the application hence to keep the application running we use exception handling.
Exception handling is the process of responding to exceptions that appear in the code during its runtime so that normal flow of the application can be maintained.
For Example:
DML statements return run-time exceptions if something goes wrong in the database during the execution of DML operations.
You can handle the exceptions in your code by wrapping your DML statements within try-catch blocks.
The following example includes the insert DML statement inside a try-catch block:
Account a = new Account(Name=’Acme’);
try
{ insert a;}
catch(DmlException e)
{ // Process exception here}
< < Previous
Next > >
The batch is going to start shortly. Fill the form given below to Register yourself now.
Fill out the form and get consulted by our Salesforce experts.
Fill out the form to figure out to detemine the perfect Salesforce profile for yourself.
Fill the form below to get a demo of this course.
Fill out the form to get your Premium Salesforce Development Course
Online Salesforce Development Course is soon going to be launched. Please fill the form and we will notify you about the course.