java.lang.Error (JDK 1.0)
This class forms the root of the error hierarchy in Java. Subclasses of Error, unlike subclasses of Exception, should generally not be caught, and generally cause termination of the program. Subclasses of Error need not be declared in the throws clause of a method definition.
getMessage() returns a message associated with the error. See Throwable for other methods.
public classErrorextends Throwable { //Public ConstructorspublicError(); publicError(Strings); }
Hierarchy:
Object->Throwable(Serializable)->Error
Extended By:
AWTError, LinkageError, ThreadDeath, VirtualMachineError