Package com.google.api.gax.retrying
Class PollException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.api.gax.retrying.PollException
- All Implemented Interfaces:
Serializable
PollException
is thrown when polling algorithm exceeds total timeout or total number of
attempts.- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs aPollException
with no specified detail message.PollException
(String message) Constructs a new poll timeout exception with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PollException
public PollException()Constructs aPollException
with no specified detail message. -
PollException
Constructs a new poll timeout exception with the specified detail message.- Parameters:
message
- the detail message
-