Class PollException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PollException
    extends java.lang.RuntimeException
    PollException is thrown when polling algorithm exceeds total timeout or total number of attempts.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PollException()
      Constructs a PollException with no specified detail message.
      PollException​(java.lang.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
      • Methods inherited from class java.lang.Object

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

      • PollException

        public PollException()
        Constructs a PollException with no specified detail message.
      • PollException

        public PollException​(java.lang.String message)
        Constructs a new poll timeout exception with the specified detail message.
        Parameters:
        message - the detail message