What are the Exception Methods in salesforce?
Answer / Preeti Arora
Exception methods in Salesforce are methods that handle errors or exceptions that might occur during the execution of Apex code. Some common exception methods include: 1. try-catch block - used to catch and handle exceptions. 2. System.Assert - used for unit testing to verify that expected results match actual results. 3. System.Debug - used to log messages during debugging.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is wrapper class in apex salesforce ?
What are Suggested Solutions?
When should we build solutions declaratively instead of with code?
What will happen if we undelete the deleted junction object?
What are the custom settings? Types?
what all the services that salesforce supports?
Explain the flow of execution in the validation rule, triggers & workflows?
What is difference between action support and action function?
Are there any css (styles) provided by salesforce.com as part of the supported lightning components ? : salesforce lightning component
Is it possible to change the existing data types of custom fields, if Yes please explanin?
A custom object contains some records, now my requirement is to create the field in this object with the master-detail relationship. Can we create master-detail relationship in this case?
What is PermissionSet?