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:
Serializable
A
RetryException
thrown when a StmUtils.retry()
or Txn.retry()
is done while the Txn
doesn't allow blocking transactions.
For more information see TxnFactoryBuilder.setBlockingAllowed(boolean)
and TxnConfig.isBlockingAllowed()
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRetryNotAllowedException
(String message) Creates a new RetryNotAllowedException with the provided message.RetryNotAllowedException
(String message, Throwable cause) Creates a new RetryNotAllowedException 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
RetryNotAllowedException
Creates a new RetryNotAllowedException with the provided message.- Parameters:
message
- the message
-
RetryNotAllowedException
Creates a new RetryNotAllowedException with the provided message and cause.- Parameters:
message
- the messagecause
- the cause of this exception.
-