@Override public void handleCancellationFailureEvent(HistoryEvent event) { switch (state) { case CANCELLATION_DECISION_SENT: stateHistory.add("handleCancellationFailureEvent"); state = DecisionState.INITIATED; stateHistory.add(state.toString()); break; default: super.handleCancellationFailureEvent(event); } }