akka.pattern
Class AskTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.util.concurrent.TimeoutException
              extended by akka.pattern.AskTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class AskTimeoutException
extends java.util.concurrent.TimeoutException

This is what is used to complete a Future that is returned from an ask/? call, when it times out.

See Also:
Serialized Form

Constructor Summary
AskTimeoutException(java.lang.String message)
           
AskTimeoutException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, 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

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