Class SoapFaultException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JaxWsSoapFaultException
public abstract class SoapFaultException extends RemoteInvocationFailureException
RemoteInvocationFailureException subclass that provides the details of a SOAP fault.- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
javax.xml.rpc.soap.SOAPFaultException,javax.xml.ws.soap.SOAPFaultException, Serialized Form
Constructor Summary
Constructors Modifier Constructor Description protectedSoapFaultException(String msg, Throwable cause)Constructor for SoapFaultException.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StringgetFaultActor()Return the actor that caused this fault.abstract StringgetFaultCode()Return the SOAP fault code.abstract QNamegetFaultCodeAsQName()Return the SOAP fault code as aQNameobject.abstract 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
SoapFaultException
protected SoapFaultException(String msg, Throwable cause)
Constructor for SoapFaultException.- Parameters:
msg- the detail messagecause- the root cause from the SOAP API in use
Method Detail
getFaultCode
public abstract String getFaultCode()
Return the SOAP fault code.
getFaultCodeAsQName
public abstract QName getFaultCodeAsQName()
Return the SOAP fault code as aQNameobject.
getFaultString
public abstract String getFaultString()
Return the descriptive SOAP fault string.
getFaultActor
public abstract String getFaultActor()
Return the actor that caused this fault.