Package org.springframework.ws.client
Class WebServiceFaultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.ws.WebServiceException
org.springframework.ws.client.WebServiceClientException
org.springframework.ws.client.WebServiceFaultException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SoapFaultClientException
Thrown by
SimpleFaultMessageResolver when the response message has a fault.- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance of theWebServiceFaultExceptionclass.WebServiceFaultException(FaultAwareWebServiceMessage faultMessage) Create a new instance of theWebServiceFaultExceptionclass. -
Method Summary
Modifier and TypeMethodDescriptionReturns the fault message.Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WebServiceFaultException
Create a new instance of theWebServiceFaultExceptionclass. -
WebServiceFaultException
Create a new instance of theWebServiceFaultExceptionclass.- Parameters:
faultMessage- the fault message
-
-
Method Details
-
getWebServiceMessage
Returns the fault message.
-