Software
Exceptions in Java
Exception is the pre-defined class provide by java for trapping run-time or logical error. Exception can handle all type of logical errors. To determine the identity of the logical error, exception provides various sub-exception classes.