org.jibx.ws.soap
Class SoapFaultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jibx.ws.soap.SoapFaultException
- All Implemented Interfaces:
- Serializable
public class SoapFaultException
- extends RuntimeException
An exception that can indicate that a SoapFault
has occurred.
The message of the exception will contain the faultstring from the SOAP fault.
- See Also:
- Serialized Form
SoapFaultException
public SoapFaultException(SoapFault fault)
- Create the exception based on the specified fault.
- Parameters:
fault
- the SoapFault that caused this exception to be created.
getFault
public SoapFault getFault()
- Return the
SoapFault
that caused this exception to be created.
- Returns:
- fault
getMessage
public String getMessage()
-
- Overrides:
getMessage
in class Throwable