Package rife.tools.exceptions
Interface ControlFlowRuntimeException
- All Known Implementing Classes:
AnswerException
,CallException
,CallTargetNotFoundException
,ContinuationsNotActiveException
,DeferException
,MissingActiveContinuationConfigRuntimeException
,NextException
,NoContinuableInstanceAvailableException
,PauseException
,RedirectException
,RespondException
,StepBackException
public interface ControlFlowRuntimeException
This is a marker interface to make it possible to throw runtime exceptions
that have to be treated as expected and 'positive'. The purpose is for
code that receives them to act correspondingly. For instance, if this is
used inside a transaction without forcing a rollback, the transaction
handler should commit when the exception is caught and afterwards rethrow
the exception.
- Since:
- 1.0