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 class Error extends Throwable { // Public Constructors public Error(); public Error(String s); }
Object->Throwable(Serializable)->Error
AWTError, LinkageError, ThreadDeath, VirtualMachineError
This HTML Help has been published using the chm2web software. |