+ 2

Exception handling

Exception (error) that occurs during program execution by user input, making logic mistakes by developer, connection lost in the middle of communication etc.,

9th Oct 2017, 1:35 PM
Saravanan.C
Saravanan.C - avatar
2 odpowiedzi
+ 2
Exception handing is a good practice for developer to handle the errors.
9th Oct 2017, 1:37 PM
Saravanan.C
Saravanan.C - avatar
+ 1
A java exception is an object that describes an exceptional(error) condition that has occured in a piece of code.. when an exceptional condition arises ,an object representing that exception is created and thrown in the method that caused the error.... Java exception handling is managed via five keywords: 1)try 2)catch 3)throw 4)throws 5)finally Also there are many java built in exceptions..
10th Oct 2017, 11:30 AM
Prabhat Thakur
Prabhat Thakur - avatar