Exception Handling

September 12th, 2006 Admin Posted in Exception Handling 1 Comment »

Exception is

* An Abnormal condition that arises in the code sequence at runtime.
* A  Runtime Error.
* An Indication that a problem occurred during the program’s execution.
* An Object

Exceptions are for changing the flow of control when some unexpected event(error)has occurred.

They divert the processing to a part of the program that can try to cope with the error or terminate the program safely.

Exception Handling
Exception Handling
Exception Handling

Exception Handlers

*Code segments in the program which provide the remedial mechanism    (Techniques) for the generated Exceptions.

Keywords used for  Exception Handling

* try
* catch
* finally
* throw
* throws

AddThis Social Bookmark Button