java.lang
Class Exception

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClassNotFoundException, CloneNotSupportedException, IllegalAccessException, InstantiationException, InterruptedException, InvocationTargetException, IOException, NoSuchFieldException, NoSuchMethodException, RuntimeException, TooManyListenersException

public class Exception
extends Throwable

This class is the superclass of all classes which represent recoverable exceptions. When Exceptions are thrown, they may be caught by application code.

See Also:
Throwable, Error, RuntimeException, Serialized Form

Constructor Summary
Exception()
          Constructs a new instance of this class with its walkback filled in.
Exception(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
Exception(java.lang.String detailMessage, Throwable throwable)
          Constructs a new instance of this class with its walkback, message and cause filled in.
Exception(Throwable throwable)
          Constructs a new instance of this class with its walkback and cause filled in.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Exception

public Exception()
Constructs a new instance of this class with its walkback filled in.


Exception

public Exception(java.lang.String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.

Exception

public Exception(java.lang.String detailMessage,
                 Throwable throwable)
Constructs a new instance of this class with its walkback, message and cause filled in.

Parameters:
detailMessage - String The detail message for the exception.
throwable - The cause of this Throwable

Exception

public Exception(Throwable throwable)
Constructs a new instance of this class with its walkback and cause filled in.

Parameters:
throwable - The cause of this Throwable