Creates a new SOAPFault object and adds it to this SOAPBody object. The new SOAPFault will have default values set for the mandatory child elements faultcode and faultstring. A SOAPBody may contain at most one SOAPFault child element
@return the new SOAPFault object
@throws SOAPException if there is a SOAP error
Creates a new SOAPFault object and adds it to this SOAPBody object.
@param e
@return the new SOAPFault object
@throws org.apache.axiom.om.OMException if there is a SOAP error
@throws org.apache.axiom.om.OMException
Adds a SOAP 1.1 Fault to the body with a localized message. Adding a fault removes the current content of the body.
@param faultCode the fully qualified fault faultCode
@param faultString the faultString
@param faultStringLocale the faultString locale. May be {@code null}
@return the added Soap11Fault
@throws IllegalArgumentException if the fault faultCode is not fully qualified
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.