public class TooManyRetriesException extends RetryException
RetryException thrown when a Txn is retried too many times. Uncontrolled
retrying could lead to liveness problems like livelocks and starvation.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
TooManyRetriesException(java.lang.String message)
Creates a new TooManyRetriesException with the provided message.
|
TooManyRetriesException(java.lang.String message,
java.lang.Throwable cause)
Creates a new TooManyRetriesException with the provided message.
|
private static final long serialVersionUID
public TooManyRetriesException(java.lang.String message)
message - the message of the exception.public TooManyRetriesException(java.lang.String message,
java.lang.Throwable cause)
message - the message of the exceptioncause - the cause of the exception