org.codehaus.xfire.xmlbeans
Class XMLBeansFault
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.xfire.fault.XFireFault
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
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 |
XMLBeansFault
public XMLBeansFault(org.apache.xmlbeans.XmlObject fault)
- Parameters:
fault
- The XmlObject representing the fault.
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.