org.codehaus.xfire.xmlbeans
Class XMLBeansFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.codehaus.xfire.fault.XFireFault
              extended by org.codehaus.xfire.xmlbeans.XMLBeansFault
All Implemented Interfaces:
java.io.Serializable

public class XMLBeansFault
extends XFireFault

Since:
Nov 17, 2004
Author:
Dan Diephouse
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.codehaus.xfire.fault.XFireFault
DATA_ENCODING_UNKNOWN, MUST_UNDERSTAND, RECEIVER, SENDER, VERSION_MISMATCH
 
Constructor Summary
XMLBeansFault(org.apache.xmlbeans.XmlObject fault)
           
 
Method Summary
protected  void createSoap11Fault(org.apache.xmlbeans.XmlCursor cursor)
          Fill in the fault information from the XmlCursor.
protected  void createSoap12Fault(org.apache.xmlbeans.XmlCursor cursor)
          Fill in the fault information from the XmlCursor.
 org.apache.xmlbeans.XmlObject getFault()
           
 void setFault(org.apache.xmlbeans.XmlObject fault)
           
 
Methods inherited from class org.codehaus.xfire.fault.XFireFault
addNamespace, createFault, getCode, getDetail, getFaultCode, getMessage, getNamespaces, getReason, getRole, getSubCode, hasDetails, setDetail, setFaultCode, setMessage, setRole, setSubCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

XMLBeansFault

public XMLBeansFault(org.apache.xmlbeans.XmlObject fault)
Parameters:
fault - The XmlObject representing the fault.
Method Detail

createSoap11Fault

protected void createSoap11Fault(org.apache.xmlbeans.XmlCursor cursor)
Fill in the fault information from the XmlCursor.

Parameters:
cursor -

createSoap12Fault

protected void createSoap12Fault(org.apache.xmlbeans.XmlCursor cursor)
Fill in the fault information from the XmlCursor.

Parameters:
cursor -

getFault

public org.apache.xmlbeans.XmlObject getFault()
Returns:
Returns the fault.

setFault

public void setFault(org.apache.xmlbeans.XmlObject fault)
Parameters:
fault - The fault to set.