/** * Make a fault in any namespace. * * @param code fault code which will be passed into the Axis namespace * @param subcodes fault subcodes which will be pased into the Axis namespace * @param faultString fault string * @param actor fault actor, same as fault role in SOAP 1.2 * @param node which node caused the fault on the SOAP path * @param details details; if null the current stack trace and classname is * inserted into the details. * @since axis1.1 */ public AxisFault(QName code, QName[] subcodes, String faultString, String actor, String node, Element[] details) { super (faultString); setFaultCode( code ); if (subcodes != null) { for (int i = 0; i < subcodes.length; i++) { addFaultSubCode( subcodes[i] ); } } setFaultString( faultString ); setFaultActor( actor ); setFaultNode( node ); setFaultDetail( details ); if (details == null) { initFromException(this); } }
/** * Make a fault in any namespace. * * @param code fault code which will be passed into the Axis namespace * @param subcodes fault subcodes which will be pased into the Axis namespace * @param faultString fault string * @param actor fault actor, same as fault role in SOAP 1.2 * @param node which node caused the fault on the SOAP path * @param details details; if null the current stack trace and classname is * inserted into the details. * @since axis1.1 */ public AxisFault(QName code, QName[] subcodes, String faultString, String actor, String node, Element[] details) { super (faultString); setFaultCode( code ); if (subcodes != null) { for (int i = 0; i < subcodes.length; i++) { addFaultSubCode( subcodes[i] ); } } setFaultString( faultString ); setFaultActor( actor ); setFaultNode( node ); setFaultDetail( details ); if (details == null) { initFromException(this); } }
/** * Make a fault in any namespace. * * @param code fault code which will be passed into the Axis namespace * @param subcodes fault subcodes which will be pased into the Axis namespace * @param faultString fault string * @param actor fault actor, same as fault role in SOAP 1.2 * @param node which node caused the fault on the SOAP path * @param details details; if null the current stack trace and classname is * inserted into the details. * @since axis1.1 */ public AxisFault(QName code, QName[] subcodes, String faultString, String actor, String node, Element[] details) { super (faultString); setFaultCode( code ); if (subcodes != null) { for (int i = 0; i < subcodes.length; i++) { addFaultSubCode( subcodes[i] ); } } setFaultString( faultString ); setFaultActor( actor ); setFaultNode( node ); setFaultDetail( details ); if (details == null) { initFromException(this); } }
f.addFaultSubCode(c.getFaultCode());
f.addFaultSubCode(c.getFaultCode());
f.addFaultSubCode(c.getFaultCode());
null, null); fault.addFaultSubCode(Constants.FAULT_SUBCODE_PROC_NOT_PRESENT); throw new SAXException(fault); } else {
null, null); fault.addFaultSubCode(Constants.FAULT_SUBCODE_PROC_NOT_PRESENT); throw new SAXException(fault); } else {
null, null); fault.addFaultSubCode(Constants.FAULT_SUBCODE_PROC_NOT_PRESENT); throw new SAXException(fault); } else {
fault.addFaultSubCode(Constants.FAULT_SUBCODE_BADARGS); throw new SAXException(fault);
fault.addFaultSubCode(Constants.FAULT_SUBCODE_BADARGS); throw new SAXException(fault);
fault.addFaultSubCode(Constants.FAULT_SUBCODE_BADARGS); throw new SAXException(fault);