public class UnavailableException extends ApiException
Exception thrown when the service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.
Constructors
UnavailableException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
public UnavailableException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
Parameters | |
---|---|
Name | Description |
message |
String |
cause |
Throwable |
statusCode |
StatusCode |
retryable |
boolean |
UnavailableException(Throwable cause, StatusCode statusCode, boolean retryable)
public UnavailableException(Throwable cause, StatusCode statusCode, boolean retryable)
Parameters | |
---|---|
Name | Description |
cause |
Throwable |
statusCode |
StatusCode |
retryable |
boolean |
UnavailableException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
public UnavailableException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
Parameters | |
---|---|
Name | Description |
cause |
Throwable |
statusCode |
StatusCode |
retryable |
boolean |
errorDetails |
ErrorDetails |