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
An IllegalTxnStateException thrown when a write action is executed using
a readonly Txn.
- Author:
- Peter Veentjer.
- See Also:
TxnFactoryBuilder.setReadonly(boolean),
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ReadonlyException
public ReadonlyException(String message)
- Creates a new ReadonlyException.
- Parameters:
message - the message of the exception.
ReadonlyException
public ReadonlyException(String message,
Throwable cause)
- Creates a new ReadonlyException.
- Parameters:
message - the message of the exception.cause - the cause of the exception.
Copyright © 2012. All Rights Reserved.