public interface ConditionListener extends Finalizable
TransactionManager
when any fatal or abnormal exception is raised
in the block for which the associated instance is registered.
There will be NO notification for exceptions that are used for internal
purposes of the runtime, such as unwinding the stack to a given location
(i.e. for control flow). Notifications WILL BE provided for all of the
ConditionException
and any unexpected Throwable
.
Modifier and Type | Method and Description |
---|---|
void |
condition(BlockManager.Condition condition)
Provides a notification that a
ConditionException or an
unexpected Throwable was encountered for the current
block. |
deleted, finished, initFailure, iterate, retry
void condition(BlockManager.Condition condition)
ConditionException
or an
unexpected Throwable
was encountered for the current
block.condition
- The condition thrown during block processing.