java.lang
Class Error

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
Direct Known Subclasses:
AWTError, LinkageError, ThreadDeath, VirtualMachineError

public class Error
extends Throwable

Error is a subtype of Throwable for abnormal events that should not occur. Do not try to catch Error's unless you really know what you're doing.


Constructor Summary
Error()
          Constructs an Error with no specified detail message.
Error(String s)
          Constructs an Error with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Error

public Error()
Constructs an Error with no specified detail message. A detail message is a String that describes this particular error.


Error

public Error(String s)
Constructs an Error with the specified detail message. A detail message is a String that describes this particular error

Parameters:
s - the detail message