Package com.google.api.gax.rpc
Class UnknownException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.api.gax.rpc.ApiException
-
- com.google.api.gax.rpc.UnknownException
-
- All Implemented Interfaces:
Serializable
public class UnknownException extends ApiException
Exception thrown due to an unknown error. An example of where this error may be returned is if a Status value received from another address space belongs to an error-space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
UnknownException(Throwable cause, StatusCode statusCode, boolean retryable)
UnknownException(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, isRetryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnknownException
public UnknownException(Throwable cause, StatusCode statusCode, boolean retryable)
-
UnknownException
public UnknownException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
-
UnknownException
public UnknownException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
-
-