Package java.lang
Class InternalError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.VirtualMachineError
java.lang.InternalError
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ZipError
public class InternalError extends VirtualMachineError
Thrown when the VM notices that it has gotten into an undefined state.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InternalError()Constructs a newInternalErrorthat includes the current stack trace.InternalError(String detailMessage)Constructs a newInternalErrorwith 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 Details
-
InternalError
public InternalError()Constructs a newInternalErrorthat includes the current stack trace. -
InternalError
Constructs a newInternalErrorwith the current stack trace and the specified detail message.- Parameters:
detailMessage- the detail message for this error.
-