| java.lang.Object de.danet.an.workflow.clients.wfxml.FaultUtils
FaultUtils | class FaultUtils (Code) | | This class provides utility methods to fill the
SOAPFault part
of the response.
author: Dirk Schnelle |
Method Summary | |
static void | setFault(SOAPMessage message, Throwable throwable) Sets the detail message of the given exception as the fault string
of the SOAP message without specifying a
Detail part. | static void | setFault(SOAPMessage message, int errorCode, String errorMessage) Sets the detail message of the given exception as the fault string
of the SOAP message. |
setFault | static void setFault(SOAPMessage message, Throwable throwable) throws SOAPException(Code) | | Sets the detail message of the given exception as the fault string
of the SOAP message without specifying a
Detail part.
Parameters: message - the message, where to set the fault string. Parameters: throwable - the throwable throws: SOAPException - error setting the fault string. |
setFault | static void setFault(SOAPMessage message, int errorCode, String errorMessage) throws SOAPException(Code) | | Sets the detail message of the given exception as the fault string
of the SOAP message.
Parameters: message - the message, where to set the fault string. Parameters: errorCode - the ASAP error code Parameters: errorMessage - the error message throws: SOAPException - error setting the fault string. |
|
|