Package akka.pattern

Class AskTimeoutException

  • All Implemented Interfaces:
    java.io.Serializable, scala.util.control.NoStackTrace

    public class AskTimeoutException
    extends java.util.concurrent.TimeoutException
    implements scala.util.control.NoStackTrace
    This is what is used to complete a Future that is returned from an ask/? call, when it times out. A typical reason for AskTimeoutException is that the recipient actor didn't send a reply.
    See Also:
    Serialized Form
    • Method Summary

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

        addSuppressed, fillInStackTrace, 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
      • Methods inherited from interface scala.util.control.NoStackTrace

        fillInStackTrace
    • Constructor Detail

      • AskTimeoutException

        public AskTimeoutException​(java.lang.String message,
                                   java.lang.Throwable cause)
      • AskTimeoutException

        public AskTimeoutException​(java.lang.String message)
    • Method Detail

      • getCause

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