If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

What are the different ways to handle exceptions?

Started by chinmay.sahoo, 03-28-2016, 04:06:51

Previous topic - Next topic

chinmay.sahooTopic starter

The two methods to handle exception are as follows:-
Wrapping the desired code in the try block that is followed by catch block List out the desired exception in throw and the caller of the method handle the  exception                 


TomClarke

I know three ways to handle exceptions:
- you can enclose your codes in try/catch/finally block.
- you can use events like page-error and application_error;
- you can use custom error page.


If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...