List of usage examples for org.springframework.statemachine.listener StateMachineListener stateMachineError
void stateMachineError(StateMachine<S, E> stateMachine, Exception exception);
From source file:org.springframework.statemachine.listener.CompositeStateMachineListener.java
@Override public void stateMachineError(StateMachine<S, E> stateMachine, Exception exception) { for (Iterator<StateMachineListener<S, E>> iterator = getListeners().reverse(); iterator.hasNext();) { StateMachineListener<S, E> listener = iterator.next(); try {// w w w .ja v a2 s.c o m listener.stateMachineError(stateMachine, exception); } catch (Throwable e) { log.warn("Error during stateMachineError", e); } } }