In this lesson we look at an exception handling example.
Resource:
Exception Handling Example - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_exception_trycatch_example.htm
You can’t throw built-in Apex exceptions. You can only catch them. 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.
Resource:
Create Custom Exception...
This is the first of five challenges you'll find throughout this course. In this lesson, we will cover the basic trigger setup. The next lesson will be where we perform a work check of what you built.
I also provide a few pointers for you to bear in mind for this challenge. I also provide a lin...
In this lesson, we check our work for the first challenge.
Resource:
Install Solution - https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4W000002r67FQAQ