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
public class PollException extends RuntimeException
PollExceptionis thrown when polling algorithm exceeds total timeout or total number of attempts.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PollException()Constructs aPollExceptionwith 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 Detail
-
PollException
public PollException()
Constructs aPollExceptionwith no specified detail message.
-
PollException
public PollException(String message)
Constructs a new poll timeout exception with the specified detail message.- Parameters:
message- the detail message
-
-