/** * Sets the "failure" element */ public void setFailure(org.apache.ode.bpel.pmapi.FailureType failure) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.FailureType target = null; target = (org.apache.ode.bpel.pmapi.FailureType)get_store().find_element_user(FAILURE$4, 0); if (target == null) { target = (org.apache.ode.bpel.pmapi.FailureType)get_store().add_element_user(FAILURE$4); } target.set(failure); } }
e.addNewFailure().setExplanation(mexDao.getFaultExplanation()); } else { if (mexDao.getResponse() != null) {
mexDao.setStatus(Status.RESPONSE.toString()); } else if (answer.isSetFailure()) { mexDao.setFaultExplanation(answer.getFailure().getExplanation()); mexDao.setStatus(Status.FAILURE.toString()); } else {
/** * Sets the "failure" element */ public void setFailure(org.apache.ode.bpel.pmapi.FailureType failure) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.FailureType target = null; target = (org.apache.ode.bpel.pmapi.FailureType)get_store().find_element_user(FAILURE$14, 0); if (target == null) { target = (org.apache.ode.bpel.pmapi.FailureType)get_store().add_element_user(FAILURE$14); } target.set(failure); } }