Exception handling | SoloLearn: Learn to code for FREE!

+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.,

10/9/2017 1:35:53 PM

Saravanan.C

2 Answers

New Answer

+2

Exception handing is a good practice for developer to handle the errors.

+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..