Spring Web Services Framework

org.springframework.ws.client
Class WebServiceFaultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.ws.WebServiceException
                      extended by org.springframework.ws.client.WebServiceClientException
                          extended by org.springframework.ws.client.WebServiceFaultException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SoapFaultClientException

public class WebServiceFaultException
extends WebServiceClientException

Thrown by SimpleFaultMessageResolver when the response message has a fault.

Since:
1.0.0
Author:
Arjen Poutsma
See Also:
Serialized Form

Constructor Summary
WebServiceFaultException(FaultAwareWebServiceMessage faultMessage)
          Create a new instance of the WebServiceFaultException class.
WebServiceFaultException(String msg)
          Create a new instance of the WebServiceFaultException class.
 
Method Summary
 FaultAwareWebServiceMessage getWebServiceMessage()
          Returns the fault message.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebServiceFaultException

public WebServiceFaultException(String msg)
Create a new instance of the WebServiceFaultException class.


WebServiceFaultException

public WebServiceFaultException(FaultAwareWebServiceMessage faultMessage)
Create a new instance of the WebServiceFaultException class.

Parameters:
faultMessage - the fault message
Method Detail

getWebServiceMessage

public FaultAwareWebServiceMessage getWebServiceMessage()
Returns the fault message.


Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.