function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

In how many ways we can do exceptional handling?

In how many ways it is possible to do exceptional handling ?
Alexander TsitsuraAlexander Tsitsura
Hi TheRealist

Please, read this article

As a common practice, if your question is answered, please choose 1 best answer. 
But you can give every answer a thumb up if that answer is helpful to you.

William TranWilliam Tran
There 2 general ways. 

1) Use the OOTB framework so you don't need to do much
2) Catch and handle the error yourself using the try/catch/finally blocks.