Package org.multiverse.api.exceptions
Class ReadonlyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.multiverse.api.exceptions.TxnExecutionException
org.multiverse.api.exceptions.IllegalTxnStateException
org.multiverse.api.exceptions.ReadonlyException
- All Implemented Interfaces:
Serializable
An
IllegalTxnStateException
thrown when a write action is executed using
a readonly Txn
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReadonlyException
(String message) Creates a new ReadonlyException.ReadonlyException
(String message, Throwable cause) Creates a new ReadonlyException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ReadonlyException
Creates a new ReadonlyException.- Parameters:
message
- the message of the exception.
-
ReadonlyException
Creates a new ReadonlyException.- Parameters:
message
- the message of the exception.cause
- the cause of the exception.
-