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
public class WatchdogTimeoutException extends ApiException
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StatusCodeLOCAL_ABORTED_STATUS_CODE
-
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
-
-
-
-
Field Detail
-
LOCAL_ABORTED_STATUS_CODE
public static final StatusCode LOCAL_ABORTED_STATUS_CODE
-
-