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 protected
SoapFaultException(String msg, Throwable cause)
Constructor for SoapFaultException.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String
getFaultActor()
Return the actor that caused this fault.abstract String
getFaultCode()
Return the SOAP fault code.abstract QName
getFaultCodeAsQName()
Return the SOAP fault code as aQName
object.abstract 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
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 aQName
object.
getFaultString
public abstract String getFaultString()
Return the descriptive SOAP fault string.
getFaultActor
public abstract String getFaultActor()
Return the actor that caused this fault.