}
public Object fromOMElement(OMElement sequenceFault) throws OMException {
if (sequenceFault == null)
throw new OMException(
"Can't add Fault Code part since the passed element is null");
OMElement faultCodePart = sequenceFault
.getFirstChildWithName(new QName(Sandesha2Constants.WSRM.NS_PREFIX_RM,
Sandesha2Constants.WSRM.FAULT_CODE));
if (faultCodePart == null)
throw new OMException(
"Passed element does not contain a Fauld Code part");
this.faultCode = faultCodePart.getText();
faultCodeElement = factory.createOMElement(