public class SoapFaultClientException extends WebServiceFaultException
SoapFaultMessageResolver when the response message has a fault.| Constructor and Description |
|---|
SoapFaultClientException(SoapMessage faultMessage)
Create a new instance of the
SoapFaultClientException class. |
| Modifier and Type | Method and Description |
|---|---|
QName |
getFaultCode()
Returns the fault code.
|
String |
getFaultStringOrReason()
Returns the fault string or reason.
|
SoapFault |
getSoapFault()
Returns the
SoapFault. |
getWebServiceMessagecontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SoapFaultClientException(SoapMessage faultMessage)
SoapFaultClientException class.faultMessage - the fault messagepublic QName getFaultCode()
public String getFaultStringOrReason()
Note that this message returns the same as NestedRuntimeException.getMessage().