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:
- Serializable, XmlSerializable
- Direct Known Subclasses:
- BaseFault
public class SoapFault
- extends Exception
- implements XmlSerializable
This class represents a the SOAP fault type defined in SOAP 1.2.
- Author:
- Dan Jemiolo (danj)
- See Also:
- Serialized Form
SoapFault
public SoapFault(Element xml)
SoapFault
public SoapFault(String message)
SoapFault
public SoapFault(String message,
Throwable cause)
SoapFault
public SoapFault(Throwable cause)
getCode
public QName getCode()
setCode
public void setCode(QName code)
getDetail
public Element getDetail()
setDetail
public void setDetail(Element detail)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getNodeURI
public String getNodeURI()
setNodeURI
public void setNodeURI(String nodeURI)
getReason
public String getReason()
setReason
public void setReason(String reason)
getRoleURI
public String getRoleURI()
setRoleURI
public void setRoleURI(String roleURI)
getSubCode
public QName getSubCode()
setSubCode
public void setSubCode(QName subCode)
toXML
public 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 Element toXML(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.
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.