Package com.google.api.gax.rpc
Class UnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.api.gax.rpc.ApiException
com.google.api.gax.rpc.UnavailableException
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnavailableException(String message, Throwable cause, StatusCode statusCode, boolean retryable) UnavailableException(String message, Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails) UnavailableException(Throwable cause, StatusCode statusCode, boolean retryable) UnavailableException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails) -
Method Summary
Methods inherited from class com.google.api.gax.rpc.ApiException
getDomain, getErrorDetails, getMetadata, getReason, getStatusCode, isRetryableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnavailableException
-
UnavailableException
public UnavailableException(String message, Throwable cause, StatusCode statusCode, boolean retryable) -
UnavailableException
public UnavailableException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails) -
UnavailableException
public UnavailableException(String message, Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
-