Class AnthropicRetryableException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class AnthropicRetryableException
    extends AnthropicException
                        

    Exception that indicates a transient error that can be retried.

    When this exception is thrown during an HTTP request, the SDK will automatically retry the request up to the maximum number of retries.

    • Constructor Detail

      • AnthropicRetryableException

        AnthropicRetryableException(String message, Throwable cause)
        Parameters:
        message - A descriptive error message
        cause - The underlying cause of this exception, if any
      • AnthropicRetryableException

        AnthropicRetryableException(String message)
        Parameters:
        message - A descriptive error message
      • AnthropicRetryableException

        AnthropicRetryableException()
    • Method Detail