Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » java » lang » [javadoc | source]
java.lang
public class: Exception [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception

All Implemented Interfaces:
    Serializable

{@code Exception} is the superclass of all classes that represent recoverable exceptions. When exceptions are thrown, they may be caught by application code.
Constructor:
 public Exception() 
 public Exception(String detailMessage) 
    Constructs a new {@code Exception} with the current stack trace and the specified detail message.
    Parameters:
    detailMessage - the detail message for this exception.
 public Exception(Throwable throwable) 
    Constructs a new {@code Exception} with the current stack trace and the specified cause.
    Parameters:
    throwable - the cause of this exception.
 public Exception(String detailMessage,
    Throwable throwable) 
    Constructs a new {@code Exception} with the current stack trace, the specified detail message and the specified cause.
    Parameters:
    detailMessage - the detail message for this exception.
    throwable - the cause of this exception.
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait