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 . |
getWebServiceMessage
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SoapFaultClientException(SoapMessage faultMessage)
SoapFaultClientException
class.faultMessage
- the fault messagepublic QName getFaultCode()
public String getFaultStringOrReason()
Note that this message returns the same as NestedRuntimeException.getMessage()
.
Copyright © 2020 Pivotal Software. All rights reserved.