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
ConstructorDescriptionCreate a new instance of theWebServiceFaultException
class.WebServiceFaultException
(FaultAwareWebServiceMessage faultMessage) Create a new instance of theWebServiceFaultException
class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the fault message.Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods 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 theWebServiceFaultException
class. -
WebServiceFaultException
Create a new instance of theWebServiceFaultException
class.- Parameters:
faultMessage
- the fault message
-
-
Method Details
-
getWebServiceMessage
Returns the fault message.
-