Class StepTimedOutException

All Implemented Interfaces:
Serializable

public class StepTimedOutException extends StepFailedException
Exception thrown when an individual step reaches its configured timeout before completing.

Surfaced by DSL helpers (e.g. awaitEvent, awaitExecute) when the step ends in the TIMED_OUT state. A subtype of StepFailedException: callers that want to handle any step-level failure can catch the parent; callers that need to distinguish a timeout specifically can catch this type. Distinct from StepCancellationException (explicit cancellation).

Since:
5.4.0
Author:
Stefan Dragisic
See Also:
  • Constructor Details

    • StepTimedOutException

      public StepTimedOutException(String message)
      Constructs a StepTimedOutException with a descriptive message.
      Parameters:
      message - the detail message describing which step timed out and how long it waited
    • StepTimedOutException

      public StepTimedOutException(String message, Throwable cause)
      Constructs a StepTimedOutException with a message and underlying cause.
      Parameters:
      message - the detail message describing which step timed out
      cause - the underlying cause of the timeout, if any