Package com.google.cloud.grpc
Class BaseGrpcServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.cloud.BaseServiceException
com.google.cloud.grpc.BaseGrpcServiceException
- All Implemented Interfaces:
Serializable
Base class for all exceptions from grpc-based services.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.cloud.BaseServiceException
BaseServiceException.Error, BaseServiceException.ExceptionData -
Field Summary
Fields inherited from class com.google.cloud.BaseServiceException
UNKNOWN_CODE -
Constructor Summary
ConstructorsModifierConstructorDescriptionBaseGrpcServiceException(ApiException apiException) protectedBaseGrpcServiceException(IOException exception, boolean idempotent) protectedBaseGrpcServiceException(String message, Throwable cause, int code, boolean retryable) -
Method Summary
Methods inherited from class com.google.cloud.BaseServiceException
equals, getCode, getDebugInfo, getLocation, getReason, hashCode, isRetryable, isRetryable, isRetryable, translate, translateMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BaseGrpcServiceException
@InternalApi("This class should only be extended within google-cloud-java") protected BaseGrpcServiceException(String message, Throwable cause, int code, boolean retryable) -
BaseGrpcServiceException
@InternalApi("This class should only be extended within google-cloud-java") protected BaseGrpcServiceException(IOException exception, boolean idempotent) -
BaseGrpcServiceException
-