Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What are the different ways to handle exceptions?
#1
Wink 
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                
Reply
#2
Yeap the live exampe is like

Try {
Your Code
}
Catch
{
Print Error
}
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  The ways for Manage Police Arrest Interrogation: Your Rights also Optimal Practices Jeffreyhug 0 14 04-08-2025, 03:52 PM
Last Post: Jeffreyhug

Forum Jump:


Users browsing this thread: 1 Guest(s)