Package rife.continuations.exceptions
Class StepBackException
java.lang.Object
java.lang.Throwable
java.lang.Error
rife.tools.exceptions.LightweightError
rife.continuations.exceptions.StepBackException
- All Implemented Interfaces:
- Serializable,- ControlFlowRuntimeException
This exception will be thrown when a stepBack continuation is triggered.
- Since:
- 1.0
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionStepBackException(ContinuationContext context) [PRIVATE AND UNSUPPORTED] Instantiates a new step-back exception.
- 
Method SummaryModifier and TypeMethodDescriptionRetrieves the context of this step-back continuation.Looks up the ID of the target continuation of the step-back.Methods inherited from class rife.tools.exceptions.LightweightErrorfillInStackTrace, getStackTraceMethods inherited from class java.lang.ThrowableaddSuppressed, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
StepBackException[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- 
getContextRetrieves the context of this step-back continuation.- Returns:
- this step-back continuation's context
- Since:
- 1.0
 
- 
lookupStepBackIdLooks up the ID of the target continuation of the step-back.- Returns:
- the target continuation ID of the step-back; or
 nullif the target continuation couldn't be found
- Since:
- 1.0
 
 
-