_dao.setFault(faultData.getFaultName(), faultData.getExplanation(), faultData.getFaultLineNo(), faultData
.getActivityId(), faultData.getFaultMessage());
// send event
ProcessInstanceStateChangeEvent evt = new ProcessInstanceStateChangeEvent();
evt.setOldState(_dao.getState());
_dao.setState(ProcessState.STATE_COMPLETED_WITH_FAULT);
evt.setNewState(ProcessState.STATE_COMPLETED_WITH_FAULT);
sendEvent(evt);
sendEvent(new ProcessCompletionEvent(faultData.getFaultName()));
_dao.finishCompletion();