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
public class RetryNotAllowedException extends RetryException
ARetryException
thrown when aStmUtils.retry()
orTxn.retry()
is done while theTxn
doesn't allow blocking transactions. For more information seeTxnFactoryBuilder.setBlockingAllowed(boolean)
andTxnConfig.isBlockingAllowed()
.- Author:
- Peter Veentjer.
- See Also:
TxnFactoryBuilder.setBlockingAllowed(boolean)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RetryNotAllowedException(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
-
-
-
-
Constructor Detail
-
RetryNotAllowedException
public RetryNotAllowedException(String message)
Creates a new RetryNotAllowedException with the provided message.- Parameters:
message
- the message
-
-