Package java.lang
Class UnknownError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.VirtualMachineError
-
- java.lang.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 Summary
Constructors Constructor Description UnknownError()Constructs a newUnknownErrorthat includes the current stack trace.UnknownError(String detailMessage)Constructs a newUnknownErrorwith 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
-
UnknownError
public UnknownError()
Constructs a newUnknownErrorthat includes the current stack trace.
-
UnknownError
public UnknownError(String detailMessage)
Constructs a newUnknownErrorwith the current stack trace and the specified detail message.- Parameters:
detailMessage- the detail message for this exception.
-
-