Class TimeoutException

All Implemented Interfaces:
Serializable

@NullMarked public class TimeoutException extends RuntimeException
A TimeoutException is thrown in case an Actor does not succeed on a Retryable before its timeout is reached.
See Also:
  • Constructor Details

    • TimeoutException

      public TimeoutException(Actor actor, Retryable retryable, 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