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().TxnFactoryBuilder.setBlockingAllowed(boolean),
Serialized Form| Constructor and 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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RetryNotAllowedException(String message)
message - the messageCopyright © 2025. All rights reserved.