Package com.anthropic.errors
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 Summary
Constructors Constructor Description AnthropicRetryableException(String message, Throwable cause)AnthropicRetryableException(String message)AnthropicRetryableException()
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AnthropicRetryableException
AnthropicRetryableException(String message, Throwable cause)
- Parameters:
message- A descriptive error messagecause- The underlying cause of this exception, if any
-
AnthropicRetryableException
AnthropicRetryableException(String message)
- Parameters:
message- A descriptive error message
-
AnthropicRetryableException
AnthropicRetryableException()
-
-
-
-