Class StepCancellationException

All Implemented Interfaces:
Serializable

public class StepCancellationException extends StepFailedException
Exception thrown when an individual step is cancelled.

A subtype of StepFailedException: callers that want to handle any step-level failure can catch the parent; callers that need to distinguish a cancellation specifically can catch this type. Distinct from StepTimedOutException (timeout).

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

    • StepCancellationException

      public StepCancellationException(String message)
      Constructs a StepCancellationException with a descriptive message.
      Parameters:
      message - the detail message describing the cancellation reason
    • StepCancellationException

      public StepCancellationException(String message, Throwable cause)
      Constructs a StepCancellationException with a message and underlying cause.
      Parameters:
      message - the detail message describing the cancellation reason
      cause - the underlying cause of the cancellation
    • StepCancellationException

      public StepCancellationException(Throwable cause)
      Constructs a StepCancellationException wrapping an underlying cause.
      Parameters:
      cause - the underlying cause of the cancellation