Class TimeoutException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class TimeoutException
    extends java.lang.Exception
    Wait strategies may throw this Exception to inform callers that a message has not been detected within a specific time window. For efficiency, a single instance is provided.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static TimeoutException INSTANCE
      The efficiency saving singleton instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable fillInStackTrace()  
      • Methods inherited from class java.lang.Throwable

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

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

      • INSTANCE

        public static final TimeoutException INSTANCE
        The efficiency saving singleton instance
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        Overrides:
        fillInStackTrace in class java.lang.Throwable