Package java.lang

Class 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 Details

    • VirtualMachineError

      public VirtualMachineError()
      Constructs a new VirtualMachineError that includes the current stack trace.
    • VirtualMachineError

      public VirtualMachineError​(String detailMessage)
      Constructs a new VirtualMachineError with the current stack trace and the specified detail message.
      Parameters:
      detailMessage - the detail message for this exception.