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.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.
|
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