java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
The class Exception and its subclasses are a form of 
 Throwable that indicates conditions that a reasonable 
 application might want to catch.
Error| Constructor Summary | |
| Exception()Constructs an Exceptionwith no specified detail message. | |
| Exception(String s)Constructs an Exceptionwith the specified detail message. | |
| Methods inherited from class java.lang.Throwable | 
| getMessage, 
printStackTrace, 
toString | 
| Methods inherited from class java.lang.Object | 
| equals, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait | 
| Constructor Detail | 
public Exception()
Exception with no specified detail message.public Exception(String s)
Exception with the specified detail message.s - the detail message.