public class RetryNotAllowedException extends RetryException
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().| Constructor and 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.
|
public RetryNotAllowedException(java.lang.String message)
message - the messagepublic RetryNotAllowedException(java.lang.String message,
java.lang.Throwable cause)
message - the messagecause - the cause of this exception.