/** * No-arg constructor for building one from an XML stream. */ public AxisFault() { super(); setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL); initFromException(this); }
/** * No-arg constructor for building one from an XML stream. */ public AxisFault() { super(); setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL); initFromException(this); }
/** * No-arg constructor for building one from an XML stream. */ public AxisFault() { super(); setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL); initFromException(this); }
/** * create a simple axis fault from the message. Classname and stack trace * go into the fault details. * @param message */ public AxisFault(String message) { super (message); setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL); setFaultString(message); initFromException(this); }
/** * create a simple axis fault from the message. Classname and stack trace * go into the fault details. * @param message */ public AxisFault(String message) { super (message); setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL); setFaultString(message); initFromException(this); }
/** * create a simple axis fault from the message. Classname and stack trace * go into the fault details. * @param message */ public AxisFault(String message) { super (message); setFaultCodeAsString(Constants.FAULT_SERVER_GENERAL); setFaultString(message); initFromException(this); }
/** * Wrap an AxisFault around an existing Exception. This is private * to force everyone to use makeFault() above, which sanity-checks us. * * @param target the target <code>Exception</code> */ protected AxisFault(Exception target) { super ("", target); // ? SOAP 1.2 or 1.1 ? setFaultCodeAsString( Constants.FAULT_SERVER_USER ); initFromException(target); // if the target is a JAX-RPC SOAPFaultException init // AxisFault with the values from the SOAPFaultException if ( target instanceof SOAPFaultException ) { //strip out the hostname as we want any new one removeHostname(); initFromSOAPFaultException((SOAPFaultException) target); //but if they left it out, add it addHostnameIfNeeded(); } }
/** * Make a fault in any namespace. * * @param code fault code which will be passed into the Axis namespace * @param faultString fault string * @param actor fault actor * @param details details; if null the current stack trace and classname is * inserted into the details. */ public AxisFault(QName code, String faultString, String actor, Element[] details) { super (faultString); setFaultCode( code ); setFaultString( faultString ); setFaultActor( actor ); 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 faultString fault string * @param actor fault actor * @param details details; if null the current stack trace and classname is * inserted into the details. */ public AxisFault(QName code, String faultString, String actor, Element[] details) { super (faultString); setFaultCode( code ); setFaultString( faultString ); setFaultActor( actor ); 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 faultString fault string * @param actor fault actor * @param details details; if null the current stack trace and classname is * inserted into the details. */ public AxisFault(QName code, String faultString, String actor, Element[] details) { super (faultString); setFaultCode( code ); setFaultString( faultString ); setFaultActor( actor ); setFaultDetail( details ); if (details == null) { initFromException(this); } }
/** * Wrap an AxisFault around an existing Exception. This is private * to force everyone to use makeFault() above, which sanity-checks us. * * @param target the target <code>Exception</code> */ protected AxisFault(Exception target) { super ("", target); // ? SOAP 1.2 or 1.1 ? setFaultCodeAsString( Constants.FAULT_SERVER_USER ); initFromException(target); // if the target is a JAX-RPC SOAPFaultException init // AxisFault with the values from the SOAPFaultException if ( target instanceof SOAPFaultException ) { //strip out the hostname as we want any new one removeHostname(); initFromSOAPFaultException((SOAPFaultException) target); //but if they left it out, add it addHostnameIfNeeded(); } }
/** * Wrap an AxisFault around an existing Exception. This is private * to force everyone to use makeFault() above, which sanity-checks us. * * @param target the target <code>Exception</code> */ protected AxisFault(Exception target) { super ("", target); // ? SOAP 1.2 or 1.1 ? setFaultCodeAsString( Constants.FAULT_SERVER_USER ); initFromException(target); // if the target is a JAX-RPC SOAPFaultException init // AxisFault with the values from the SOAPFaultException if ( target instanceof SOAPFaultException ) { //strip out the hostname as we want any new one removeHostname(); initFromSOAPFaultException((SOAPFaultException) target); //but if they left it out, add it addHostnameIfNeeded(); } }
/** * 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); } }