java.lang
Class VirtualMachineError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.VirtualMachineError
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InternalError, OutOfMemoryError, StackOverflowError, UnknownError

public abstract class VirtualMachineError
extends Error

A VirtualMachineError or its subclasses are thrown to indicate there is something wrong with the Java Virtual Machine or that it does not have the resources needed for it to continue execution.

See Also:
Serialized Form

Constructor Summary
VirtualMachineError()
          Create an error without a message.
VirtualMachineError(String s)
          Create an error with a message.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualMachineError

public VirtualMachineError()
Create an error without a message.


VirtualMachineError

public VirtualMachineError(String s)
Create an error with a message.

Parameters:
s - the message