javax.xml.rpc.soap
Class SOAPFaultException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.xml.rpc.soap.SOAPFaultException
All Implemented Interfaces:
java.io.Serializable

public class SOAPFaultException
extends java.lang.RuntimeException

The SOAPFaultException exception represents a SOAP fault. The message part in the SOAP fault maps to the contents of faultdetail element accessible through the getDetail method on the SOAPFaultException. The method createDetail on the javax.xml.soap.SOAPFactory creates an instance of the javax.xml.soap.Detail. The faultstring provides a human-readable description of the SOAP fault. The faultcode element provides an algorithmic mapping of the SOAP fault. Refer to SOAP 1.1 and WSDL 1.1 specifications for more details of the SOAP faults.

See Also:
Serialized Form

Constructor Summary
SOAPFaultException(QName (src)  faultCode, java.lang.String faultString, java.lang.String faultActor, Detail (src)  faultDetail)
           
 
Method Summary
 Detail (src) getDetail()
           
 java.lang.String getFaultActor()
           
 QName (src) getFaultCode()
           
 java.lang.String getFaultString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SOAPFaultException

public SOAPFaultException(QName (src)  faultCode,
                          java.lang.String faultString,
                          java.lang.String faultActor,
                          Detail (src)  faultDetail)
Method Detail

getFaultActor

public java.lang.String getFaultActor()

getFaultCode

public QName (src)  getFaultCode()

getDetail

public Detail (src)  getDetail()

getFaultString

public java.lang.String getFaultString()