Package org.multiverse.api.exceptions
Class RetryNotAllowedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.multiverse.api.exceptions.TxnExecutionException
-
- org.multiverse.api.exceptions.RetryException
-
- org.multiverse.api.exceptions.RetryNotAllowedException
-
- All Implemented Interfaces:
java.io.Serializable
public class RetryNotAllowedException extends RetryException
ARetryExceptionthrown when aStmUtils.retry()orTxn.retry()is done while theTxndoesn't allow blocking transactions. For more information seeTxnFactoryBuilder.setBlockingAllowed(boolean)andTxnConfig.isBlockingAllowed().
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description RetryNotAllowedException(java.lang.String message)Creates a new RetryNotAllowedException with the provided message.RetryNotAllowedException(java.lang.String message, java.lang.Throwable cause)Creates a new RetryNotAllowedException with the provided message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RetryNotAllowedException
public RetryNotAllowedException(java.lang.String message)
Creates a new RetryNotAllowedException with the provided message.- Parameters:
message- the message
-
RetryNotAllowedException
public RetryNotAllowedException(java.lang.String message, java.lang.Throwable cause)Creates a new RetryNotAllowedException with the provided message and cause.- Parameters:
message- the messagecause- the cause of this exception.
-
-