Class JaxWsSoapFaultException
- All Implemented Interfaces:
Serializable
public class JaxWsSoapFaultException extends SoapFaultException
Spring SoapFaultException adapter for the JAX-WSjavax.xml.ws.soap.SOAPFaultException
class.- 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 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 aQName
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
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:SoapFaultException
Return the SOAP fault code.- Specified by:
getFaultCode
in classSoapFaultException
getFaultCodeAsQName
public QName getFaultCodeAsQName()
Description copied from class:SoapFaultException
Return the SOAP fault code as aQName
object.- Specified by:
getFaultCodeAsQName
in classSoapFaultException
getFaultString
public String getFaultString()
Description copied from class:SoapFaultException
Return the descriptive SOAP fault string.- Specified by:
getFaultString
in classSoapFaultException
getFaultActor
public String getFaultActor()
Description copied from class:SoapFaultException
Return the actor that caused this fault.- Specified by:
getFaultActor
in classSoapFaultException