java.lang
Class VirtualMachineError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.VirtualMachineError
-
- Direct Known Subclasses:
- OutOfMemoryError, StackOverflowError
public abstract class VirtualMachineError extends Error
VirtualMachineError
is the superclass of all error classes that occur during the operation of the virtual machine.- See Also:
Error
-
-
Constructor Summary
Constructors Constructor and Description VirtualMachineError()
Constructs a newVirtualMachineError
that includes the current stack trace.VirtualMachineError(String detailMessage)
Constructs a newVirtualMachineError
with the current stack trace and the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, getStackTrace, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
VirtualMachineError
public VirtualMachineError()
Constructs a newVirtualMachineError
that includes the current stack trace.
-
VirtualMachineError
public VirtualMachineError(String detailMessage)
Constructs a newVirtualMachineError
with the current stack trace and the specified detail message.- Parameters:
detailMessage
- the detail message for this exception.
-
-