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
public class ReadonlyException extends IllegalTxnStateException
AnIllegalTxnStateException
thrown when a write action is executed using a readonlyTxn
.- Author:
- Peter Veentjer.
- See Also:
TxnFactoryBuilder.setReadonly(boolean)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadonlyException(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
-
-
-
-
Constructor Detail
-
ReadonlyException
public ReadonlyException(String message)
Creates a new ReadonlyException.- Parameters:
message
- the message of the exception.
-
-