public interface SoapFault extends SoapElement
Fault
element in the body of a SOAP message.
A fault consists of a fault code
, fault string/reason
, and
role
.
Modifier and Type | Method and Description |
---|---|
SoapFaultDetail |
addFaultDetail()
Creates an optional
SoapFaultDetail object and assigns it to this fault. |
String |
getFaultActorOrRole()
Returns the fault actor or role.
|
QName |
getFaultCode()
Returns the fault code.
|
SoapFaultDetail |
getFaultDetail()
Returns the optional detail element for this
SoapFault . |
String |
getFaultStringOrReason()
Returns the fault string or reason.
|
void |
setFaultActorOrRole(String faultActor)
Sets the fault actor.
|
addAttribute, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getName, getSource, removeAttribute
QName getFaultCode()
String getFaultStringOrReason()
String getFaultActorOrRole()
void setFaultActorOrRole(String faultActor)
SoapFaultDetail getFaultDetail()
SoapFault
.SoapFaultDetail addFaultDetail()
SoapFaultDetail
object and assigns it to this fault.