org.springframework.remoting.jaxws
Class JaxWsSoapFaultException

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.remoting.RemoteAccessException
                      extended by org.springframework.remoting.RemoteInvocationFailureException
                          extended by org.springframework.remoting.soap.SoapFaultException
                              extended by org.springframework.remoting.jaxws.JaxWsSoapFaultException
All Implemented Interfaces:
Serializable

public class JaxWsSoapFaultException
extends SoapFaultException

Spring SoapFaultException adapter for the JAX-WS SOAPFaultException class.

Since:
2.5
Author:
Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
JaxWsSoapFaultException(SOAPFaultException original)
          Constructor for JaxWsSoapFaultException.
 
Method Summary
 SOAPFault getFault()
          Return the wrapped JAX-WS SOAPFault.
 String getFaultActor()
          Return the actor that caused this fault.
 String getFaultCode()
          Return the SOAP fault code.
 QName getFaultCodeAsQName()
          Return the SOAP fault code as a QName object.
 String getFaultString()
          Return the descriptive SOAP fault string.
 
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

JaxWsSoapFaultException

public JaxWsSoapFaultException(SOAPFaultException original)
Constructor for JaxWsSoapFaultException.

Parameters:
original - the original JAX-WS SOAPFaultException to wrap
Method Detail

getFault

public final SOAPFault getFault()
Return the wrapped JAX-WS SOAPFault.


getFaultCode

public String getFaultCode()
Description copied from class: SoapFaultException
Return the SOAP fault code.

Specified by:
getFaultCode in class SoapFaultException

getFaultCodeAsQName

public QName getFaultCodeAsQName()
Description copied from class: SoapFaultException
Return the SOAP fault code as a QName object.

Specified by:
getFaultCodeAsQName in class SoapFaultException

getFaultString

public String getFaultString()
Description copied from class: SoapFaultException
Return the descriptive SOAP fault string.

Specified by:
getFaultString in class SoapFaultException

getFaultActor

public String getFaultActor()
Description copied from class: SoapFaultException
Return the actor that caused this fault.

Specified by:
getFaultActor in class SoapFaultException