public interface StopConditionVetoHandler
registered
with the TransactionManager
, and are called when
a StopConditionException
is caught. Each registered handler is
given a chance to veto the STOP condition, which causes the
StopContitionException
to be rethrown. If no veto handler
vetoes the STOP condition, normal processing is allowed to continue, and
the STOP condition is presumably processed by business logic.Modifier and Type | Method and Description |
---|---|
boolean |
vetoStop(StopConditionException exc)
Check the specified exception and determine whether we want to allow it
to be honored by the
TransactionManager , or whether we want to
veto the STOP at this scope. |
boolean vetoStop(StopConditionException exc)
TransactionManager
, or whether we want to
veto the STOP at this scope.exc
- The exception to be checked.true
if STOP should be vetoed;
false
if the STOP should be allowed.