Package org.apache.pekko.pattern
Class AskTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.util.concurrent.TimeoutException
-
- org.apache.pekko.pattern.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 forAskTimeoutException
is that the recipient actor didn't send a reply.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AskTimeoutException(java.lang.String message)
AskTimeoutException(java.lang.String message, java.lang.Throwable cause)
-
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
-
-