java.lang
Class Error

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AssertionError, LinkageError, ThreadDeath, VirtualMachineError

public class Error
extends Throwable

This class is the superclass of all classes which represent unrecoverable errors. When Errors are thrown, they should not be caught by application code.

See Also:
Throwable, Exception, RuntimeException, Serialized Form

Constructor Summary
Error()
          Constructs a new instance of this class with its walkback filled in.
Error(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
Error(java.lang.String detailMessage, Throwable throwable)
          Constructs a new instance of this class with its walkback, message and cause filled in.
Error(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

Error

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


Error

public Error(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.

Error

public Error(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

Error

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

Parameters:
throwable - The cause of this Throwable