Class WatchdogTimeoutException

  • All Implemented Interfaces:
    java.io.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 on ServerStream.iterator() (in case of blocking api).
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • LOCAL_ABORTED_STATUS_CODE

        public static final StatusCode LOCAL_ABORTED_STATUS_CODE