Annotation Interface OnStateMachineError


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Inherited @Documented public @interface OnStateMachineError
Indicates that a method is candidate to be called when state machine has been entered in error it cannot recover.

A method annotated with @OnStateMachineError may accept a parameter of type ExtendedState, Map if map argument itself is annotated with EventHeaders, StateMachine, Message or Exception.

Return value can be anything and is effectively discarded.

Author:
Janne Valkealahti