Class TimeoutException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TimeoutException
    extends java.lang.RuntimeException
    A TimeoutException is thrown in case an Actor does not succeed on a Retryable before its timeout is reached.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeoutException​(Actor actor, Retryable retryable, java.lang.Throwable lastException)  
    • 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

      • TimeoutException

        public TimeoutException​(Actor actor,
                                Retryable retryable,
                                java.lang.Throwable lastException)
        Parameters:
        actor - the Actor ran into the timeout
        retryable - the Retryable which was not successful before its timeout
        lastException - the exception that was thrown in the last retry