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:
java.io.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(java.lang.String message, java.lang.Throwable cause, StatusCode statusCode, boolean retryable)UnknownException(java.lang.Throwable cause, StatusCode statusCode, boolean retryable)UnknownException(java.lang.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
-
-
-
-
Constructor Detail
-
UnknownException
public UnknownException(java.lang.Throwable cause, StatusCode statusCode, boolean retryable)
-
UnknownException
public UnknownException(java.lang.String message, java.lang.Throwable cause, StatusCode statusCode, boolean retryable)
-
UnknownException
public UnknownException(java.lang.Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
-
-