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 FormConstructor 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, toString
public RetryNotAllowedException(String message)
message
- the messageCopyright © 2020. All rights reserved.