org.apache.muse.ws.addressing.soap
Class SoapFault
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.muse.ws.addressing.soap.SoapFault
- All Implemented Interfaces:
- java.io.Serializable, XmlSerializable
- Direct Known Subclasses:
- BaseFault
- public class SoapFault
- extends java.lang.Exception
- implements XmlSerializable
This class represents a the SOAP fault type defined in SOAP 1.2.
- Author:
- Dan Jemiolo (danj)
- See Also:
- Serialized Form
Constructor Summary |
SoapFault(org.w3c.dom.Element xml)
|
SoapFault(java.lang.String message)
|
SoapFault(java.lang.String message,
java.lang.Throwable cause)
|
SoapFault(java.lang.Throwable cause)
|
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 |
SoapFault
public SoapFault(org.w3c.dom.Element xml)
SoapFault
public SoapFault(java.lang.String message)
SoapFault
public SoapFault(java.lang.String message,
java.lang.Throwable cause)
SoapFault
public SoapFault(java.lang.Throwable cause)
getCode
public final QName getCode()
setCode
public final void setCode(QName code)
getDetail
public final org.w3c.dom.Element getDetail()
setDetail
public final void setDetail(org.w3c.dom.Element detail)
getNodeURI
public final java.lang.String getNodeURI()
setNodeURI
public final void setNodeURI(java.lang.String nodeURI)
getReason
public final java.lang.String getReason()
setReason
public final void setReason(java.lang.String reason)
getRoleURI
public final java.lang.String getRoleURI()
setRoleURI
public final void setRoleURI(java.lang.String roleURI)
getSubCode
public final QName getSubCode()
setSubCode
public final void setSubCode(QName subCode)
getMessage
public java.lang.String getMessage()
toXML
public org.w3c.dom.Element toXML()
- Description copied from interface:
XmlSerializable
- Converts this object into an XML representation, as defined by its
related schema or specification. The format of the XML is dependent
on the concrete type.
- Specified by:
toXML
in interface XmlSerializable
- Returns:
- An XML representation of this object.
toXML
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
- Description copied from interface:
XmlSerializable
- Converts this object into an XML representation, as defined by its
related schema or specification. The format of the XML is dependent
on the concrete type.
- Specified by:
toXML
in interface XmlSerializable
- Parameters:
doc
- The DOM Document that will be used to create all of the nodes
in the resulting XML fragment.
- Returns:
- An XML representation of this object.