Package 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
VirtualMachineError is the superclass of all error classes that occur
during the operation of the VM.- See Also:
Error, Serialized Form
-
Constructor Summary
Constructors Constructor Description VirtualMachineError()Constructs a newVirtualMachineErrorthat includes the current stack trace.VirtualMachineError(String detailMessage)Constructs a newVirtualMachineErrorwith the current stack trace and the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VirtualMachineError
public VirtualMachineError()Constructs a newVirtualMachineErrorthat includes the current stack trace. -
VirtualMachineError
Constructs a newVirtualMachineErrorwith the current stack trace and the specified detail message.- Parameters:
detailMessage- the detail message for this exception.
-