Package com.google.api.gax.rpc
Class WatchdogTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.api.gax.rpc.ApiException
com.google.api.gax.rpc.WatchdogTimeoutException
- All Implemented Interfaces:
Serializable
The marker exception thrown when a timeout is exceeded.
This error can be thrown under 2 circumstances:
- A wait timeout has exceeded, which means that the client timed out waiting for the next
message from the server. In this case,
ApiException.isRetryable()will be true. - An idle timeout has exceeded, which means that the stream is using manual flow control and
the caller has not called
StreamController.request(int)(in case of callback api) or next onServerStream.iterator()(in case of blocking api).
- See Also:
-
Field Summary
Fields -
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
-
Field Details
-
LOCAL_ABORTED_STATUS_CODE
-