public class RetryInterruptedException extends RetryException
RetryException
thrown when the blocking operation on a Txn
using the retry has been interrupted.
Unlike the InterruptedException
this exception is not checked. A checked interrupted
exception is quite nasty to have since either you need to deal with it, or you need to propagate it.
When this exception is thrown, the interrupted status on the Thread always is restored.
TxnFactoryBuilder.setInterruptible(boolean)
,
Serialized FormConstructor and Description |
---|
RetryInterruptedException(String message)
Creates a new RetryInterruptedException with the provided message.
|
RetryInterruptedException(String message,
Throwable cause)
Creates a new RetryInterruptedException with the provided message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RetryInterruptedException(String message)
message
- the messageCopyright © 2020. All rights reserved.