1 package org.apache.axis2.soap.impl.llom.soap11; 2 3 import org.apache.axis2.om.OMElement; 4 import org.apache.axis2.om.OMXMLParserWrapper; 5 import org.apache.axis2.soap.SOAPFaultReason; 6 import org.apache.axis2.soap.impl.llom.SOAPFaultTextImpl; 7 import org.apache.axis2.soap.impl.llom.SOAPProcessingException; 8 9 26 27 public class SOAP11FaultTextImpl extends SOAPFaultTextImpl{ 28 public SOAP11FaultTextImpl(SOAPFaultReason parent) throws SOAPProcessingException { 29 super(parent); 30 } 31 32 public SOAP11FaultTextImpl(SOAPFaultReason parent, OMXMLParserWrapper builder) { 33 super(parent, builder); 34 } 35 36 protected void checkParent(OMElement parent) throws SOAPProcessingException { 37 if (!(parent instanceof SOAP11FaultReasonImpl)) { 38 throw new SOAPProcessingException("Expecting SOAP 1.1 implementation of SOAP FaultReason as the parent. But received some other implementation"); 39 } 40 } 41 } 42 | Popular Tags |