Package java.lang
Class VirtualMachineError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.VirtualMachineError
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AllocationLimitError,InternalError,OutOfMemoryError,PotentialDeadlockError,StackOverflowError,UnknownError
public abstract class VirtualMachineError extends Error
VirtualMachineErroris 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 Detail
-
VirtualMachineError
public VirtualMachineError()
Constructs a newVirtualMachineErrorthat includes the current stack trace.
-
VirtualMachineError
public VirtualMachineError(String detailMessage)
Constructs a newVirtualMachineErrorwith the current stack trace and the specified detail message.- Parameters:
detailMessage- the detail message for this exception.
-
-