java.lang
Class VirtualMachineError
java.lang.Object
java.lang.Throwable
java.lang.Error
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
VirtualMachineError
public VirtualMachineError()
- Create an error without a message.
VirtualMachineError
public VirtualMachineError(String s)
- Create an error with a message.
- Parameters:
s
- the message