Class RetryException

All Implemented Interfaces:
Serializable

public class RetryException extends RuntimeException
Exception thrown when all retry attempts for an operation have failed. This exception wraps the original exception that caused the final failure and provides context about the retry operation that was attempted.
See Also:
  • Constructor Details

    • RetryException

      public RetryException(String message)
      Creates a new RetryException with the specified message.
      Parameters:
      message - the detail message
    • RetryException

      public RetryException(String message, Throwable cause)
      Creates a new RetryException with the specified message and cause.
      Parameters:
      message - the detail message
      cause - the cause of the retry failure (typically the last exception encountered)
    • RetryException

      public RetryException(Throwable cause)
      Creates a new RetryException with the specified cause.
      Parameters:
      cause - the cause of the retry failure