Package java.lang

Class UnknownError

All Implemented Interfaces:
Serializable

public class UnknownError
extends VirtualMachineError
Thrown when the VM must throw an error which does not match any known exceptional condition.
See Also:
Serialized Form
  • Constructor Details

    • UnknownError

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

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