Class TooManyRetriesException

All Implemented Interfaces:
Serializable

public class TooManyRetriesException extends RetryException
A RetryException thrown when a Txn is retried too many times. Uncontrolled retrying could lead to liveness problems like livelocks and starvation.
See Also:
  • Field Details

  • Constructor Details

    • TooManyRetriesException

      public TooManyRetriesException(String message)
      Creates a new TooManyRetriesException with the provided message.
      Parameters:
      message - the message of the exception.
    • TooManyRetriesException

      public TooManyRetriesException(String message, Throwable cause)
      Creates a new TooManyRetriesException with the provided message.
      Parameters:
      message - the message of the exception
      cause - the cause of the exception