Class StepBackException

All Implemented Interfaces:
Serializable, ControlFlowRuntimeException

public class StepBackException extends LightweightError implements ControlFlowRuntimeException
This exception will be thrown when a stepBack continuation is triggered.
Since:
1.0
See Also:
  • Constructor Details

    • StepBackException

      public StepBackException(ContinuationContext context)
      [PRIVATE AND UNSUPPORTED] Instantiates a new step-back exception.

      This is used by the instrumented bytecode that provides continuations support, it's not intended for general use.

      Parameters:
      context - the active continuation context
      Since:
      1.0
  • Method Details

    • getContext

      public ContinuationContext getContext()
      Retrieves the context of this step-back continuation.
      Returns:
      this step-back continuation's context
      Since:
      1.0
    • lookupStepBackId

      public String lookupStepBackId()
      Looks up the ID of the target continuation of the step-back.
      Returns:
      the target continuation ID of the step-back; or

      null if the target continuation couldn't be found

      Since:
      1.0