Class RetryableException

All Implemented Interfaces:
Serializable, Response
Direct Known Subclasses:
ServiceUnavailableException

public class RetryableException extends ResourceException
An exception that indicates that a failure may be temporary, and that retrying the same request may be able to succeed in the future. Use a specific retryable sub-type if available.
See Also:
  • Constructor Details

    • RetryableException

      public RetryableException(int code, String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      code - The numeric code of the exception.
      message - The detail message.
      cause - The exception which caused this exception to be thrown.