CV Exception Framework is a Salesforce Exception Handler Framework designed by CloudVandna Solutions. This exception handling framework will give a detailed description of the exception that occurred, including the Line Numbers, Exception Messages in an easy-to-read format. It will help Apex developers to log catch exceptions in a custom object. This app will help Apex developers to log catch exceptions in a custom object and not just in debug logs which are relevant only for 24 hours.

Once the app is installed, developers can use this framework in any apex class, be it a controller, batch class, scheduler class, or trigger handler, to capture detailed exception messages neatly logged into a custom object. This provides a very easy and proactive way of capturing exceptions in PRODUCTION. The development team can monitor exceptions and take action before the end-users report them.

 Visit the link to learn more about the app.

So let’s dive into CV Exception Framework Setup-

Steps to Install CV Exception Framework:-

  1. Please go to the above link to install the  CV Exception Framework app in Production OR Sandbox Salesforce Org.
  2. Select your environment sandbox or production and click on the installation link to install the app in the selected environment.

We recommend installing the app in the sandbox first and then install in production if everything looks fine.

  1. Once you are presented with the installation screen, you must select which of your users should be granted access to the CV Exception Framework app, including all its components.

Click the Checkbox as shown to Acknowledge your installation.

Once the installation is complete, click the Done button to return to your Salesforce org.  You may see a message stating that the installation takes a long time to complete. In this case, you will receive an email once the installation finishes.

Now CV Exception Framework is Installed in your System.

You can verify the same in the installed packages. From Setup, Search Installed Package, and Click “Installed Packages” to view.

Now, let’s discuss how to use the CV Exception Framework:

From the App launcher, search for CV Exception and Click CV Exception Framework to open the app.

You can navigate to the How to Use tab to review the instructions.

Now, You have to use the try-catch block of code to catch any exception in the custom object that comes with the app.

You can use this code

Access the Exception Records

Click on the Exception Records tab from the CV Exception Framework app to view the records captured as an exception.

You can click on the record to view the exception in an easy-to-read format. You don’t need to create the debug logs manually to debug the error. You can access these records anytime and delete the records if no longer required.

We also provide an out-of-the-box report to access these exception records to get an overview of exceptions captured within the organization.

Access the Exception Report

From the “CV Exception Framework” App. Click on the Reports Tab.

Then Click on All Folder and Navigate to Exception Reports Folder.

On Clicking on the folder,  you can access the Exception Records Report.

Click on the report to view the exception records in a nice tabular format.

So this was a quick overview of this framework. Please visit our AppStore apps for more innovative solutions.

Are you looking for a Salesforce partner for a successful Salesforce integration and maintenance process? Please schedule a call with the Salesforce experts of CloudVandana today, and get the best solution for your organization to stay ahead of your competitors. 

Request a Free Consultation

YOU MIGHT ALSO LIKE