/** * Sets the "fault" element */ public void setFault(org.apache.ode.bpel.pmapi.FaultType fault) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.FaultType target = null; target = (org.apache.ode.bpel.pmapi.FaultType)get_store().find_element_user(FAULT$2, 0); if (target == null) { target = (org.apache.ode.bpel.pmapi.FaultType)get_store().add_element_user(FAULT$2); } target.set(fault); } }
if (status == Status.FAULT) { FaultType f = e.addNewFault(); f.setType(mexDao.getFault()); f.setExplanation(mexDao.getFaultExplanation()); if (mexDao.getResponse() != null) { f.setMessage(XmlObject.Factory.parse(mexDao.getResponse().getData()));
mexDao.setFault(answer.getFault().getType()); mexDao.setFaultExplanation(answer.getFault().getExplanation()); mexDao.setStatus(Status.FAULT.toString());
/** * Sets the "fault" element */ public void setFault(org.apache.ode.bpel.pmapi.FaultType fault) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.FaultType target = null; target = (org.apache.ode.bpel.pmapi.FaultType)get_store().find_element_user(FAULT$12, 0); if (target == null) { target = (org.apache.ode.bpel.pmapi.FaultType)get_store().add_element_user(FAULT$12); } target.set(fault); } }