|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jibx.ws.soap.SoapFault
public final class SoapFault
SOAP fault object class.
Field Summary | |
---|---|
static QName |
FAULT_CODE_CLIENT
The standard SOAP Client fault code. |
static QName |
FAULT_CODE_MUST_UNDERSTAND
The standard SOAP MustUnderstand fault code. |
static QName |
FAULT_CODE_SERVER
The standard SOAP Server fault code. |
static QName |
FAULT_CODE_VERSION_MISMATCH
The standard SOAP VersionMismatch fault code. |
Constructor Summary | |
---|---|
SoapFault(QName faultCode,
String faultString,
String faultActor)
|
Method Summary | |
---|---|
void |
addDetailWriter(OutHandler writer)
Add writer for detail item for a body-related fault condition. |
boolean |
equals(Object obj)
Compares two objects for equality. |
List |
getDetails()
Get details. |
List |
getDetailWriters()
Get the list of OutHandler s, which will be called sequentially to write the SOAP Fault details. |
String |
getFaultActor()
Get faultActor. |
QName |
getFaultCode()
Get faultCode. |
String |
getFaultString()
Get faultString. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QName FAULT_CODE_CLIENT
public static final QName FAULT_CODE_SERVER
public static final QName FAULT_CODE_MUST_UNDERSTAND
public static final QName FAULT_CODE_VERSION_MISMATCH
Constructor Detail |
---|
public SoapFault(QName faultCode, String faultString, String faultActor) throws WsException
faultCode
- Code for type of faultfaultString
- Readable description of fault conditionfaultActor
- URI for fault origination (optional, may be null
).
WsException
- if SOAP Fault details violate the SOAP specificationMethod Detail |
---|
public void addDetailWriter(OutHandler writer)
writer
- the handler that will write the detail itempublic QName getFaultCode()
public String getFaultString()
public String getFaultActor()
public List getDetails()
public List getDetailWriters()
OutHandler
s, which will be called sequentially to write the SOAP Fault details.
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |