org.jibx.ws.soap
Class SoapFaultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
SoapFaultException(SoapFault fault)
          Create the exception based on the specified fault.
 
Method Summary
 SoapFault getFault()
          Return the SoapFault that caused this exception to be created.
 String getMessage()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoapFaultException

public SoapFaultException(SoapFault fault)
Create the exception based on the specified fault.

Parameters:
fault - the SoapFault that caused this exception to be created.
Method Detail

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


Project Web Site