You need to sign in to do that
Don't have an account?
sunil2018
Exception handling best practice
Hi All,
need Exception handling best practice for below items
Please suggest me some best methodoloty or best practice and provide some inputs with example for these items.
need Exception handling best practice for below items
- seperate Exception handling class and use this class in other class
- Error handling class
- Error handling object
- Web service exception 501
- Exception handling best practice
- Sending alerts best methodology
Please suggest me some best methodoloty or best practice and provide some inputs with example for these items.
Hi Sunil,
You have to use the Try Catch block in your classes.
Kindly read all these documents which will answer your all queries :-
https://www.crmscience.com/single-post/2020/05/20/how-salesforce-developers-handle-errors-with-try-catch-rollback-best-practices
https://developer.salesforce.com/forums/?id=906F00000009BhUIAU
https://developer.salesforce.com/forums/?id=906F0000000Acq5IAC
https://developer.salesforce.com/forums/?id=906F00000008zhXIAQ
If the above information is helpful, please mark it as best answer.
Regards,
Priya Ranjan