Exception are such anomalous conditions (or typically an event) which changes the normal flow of execution of a program. Exceptions are used for signaling erroneous (exceptional) conditions which occur during the run time processing. Java provides mechanisms to handle such situations through its exception handling mechanism. It uses Exception classes to handle such erroneous conditions and exceptional events.
For more information, visit the following link:http://www.roseindia.net/java/exceptions/