Package org.multiverse.api.exceptions
Class PanicError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- org.multiverse.api.exceptions.PanicError
-
- All Implemented Interfaces:
Serializable
public class PanicError extends Error
AnError
thrown when the state of theStm
has been compromised. Normally this exception should never happen.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PanicError(String message)
Creates a new PanicError with the provided message.PanicError(String message, Throwable cause)
Creates a new PanicError with the provided message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PanicError
public PanicError(String message)
Creates a new PanicError with the provided message.- Parameters:
message
- the message of the PanicError.
-
-