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().| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| 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.
|
private static final long serialVersionUID
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.