Class RetryTimeoutException

All Implemented Interfaces:
Serializable

public class RetryTimeoutException extends TimeoutException
Subclass of TimeoutException to discern exceptions thrown by a Retry when its overall timeout is reached versus those thrown by a Timeout.
See Also:
  • Constructor Details

    • RetryTimeoutException

      public RetryTimeoutException(Throwable throwable, String message)
      Constructs a RetryTimeoutException with the specified detail message.
      Parameters:
      throwable - last retry exception
      message - the detail message
  • Method Details

    • lastRetryException

      public Throwable lastRetryException()
      Last exception thrown in Retry before the overall timeout reached.
      Returns:
      last exception thrown