Class JaxWsSoapFaultException
- All Implemented Interfaces:
Serializable
public class JaxWsSoapFaultException extends SoapFaultException
Spring SoapFaultException adapter for the JAX-WSjavax.xml.ws.soap.SOAPFaultExceptionclass.- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description JaxWsSoapFaultException(SOAPFaultException original)Constructor for JaxWsSoapFaultException.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SOAPFaultgetFault()Return the wrapped JAX-WS SOAPFault.StringgetFaultActor()Return the actor that caused this fault.StringgetFaultCode()Return the SOAP fault code.QNamegetFaultCodeAsQName()Return the SOAP fault code as aQNameobject.StringgetFaultString()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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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:SoapFaultExceptionReturn the SOAP fault code.- Specified by:
getFaultCodein classSoapFaultException
getFaultCodeAsQName
public QName getFaultCodeAsQName()
Description copied from class:SoapFaultExceptionReturn the SOAP fault code as aQNameobject.- Specified by:
getFaultCodeAsQNamein classSoapFaultException
getFaultString
public String getFaultString()
Description copied from class:SoapFaultExceptionReturn the descriptive SOAP fault string.- Specified by:
getFaultStringin classSoapFaultException
getFaultActor
public String getFaultActor()
Description copied from class:SoapFaultExceptionReturn the actor that caused this fault.- Specified by:
getFaultActorin classSoapFaultException