SOAPFaultException exception represents a
SOAP fault.
The message part in the SOAP fault maps to the contents of
faultdetail element accessible through the
getDetail method on the SOAPFaultException.
The method createDetail on the
javax.xml.soap.SOAPFactory creates an instance
of the javax.xml.soap.Detail.
The faultstring provides a human-readable
description of the SOAP fault. The faultcode
element provides an algorithmic mapping of the SOAP fault.
Refer to SOAP 1.1 and WSDL 1.1 specifications for more details of the SOAP faults.
javax.xml.soap.Detail, javax.xml.soap.SOAPFactory#createDetail
| Modifier and Type | Field and Description |
|---|---|
| private Detail | |
| private String | |
| private QName | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | SOAPFaultException(QName
QName for the SOAP faultcodefaultstring element of SOAP faultfaultactor element of SOAP faultfaultdetail element of SOAP faultConstructor for the SOAPFaultException |
| Modifier and Type | Method and Description |
|---|---|
| public Detail | |
| public String | |
| public QName | |
| public String |
| detail | back to summary |
|---|---|
| private Detail detail | |
| faultactor | back to summary |
|---|---|
| private String faultactor | |
| faultcode | back to summary |
|---|---|
| private QName faultcode | |
| faultstring | back to summary |
|---|---|
| private String faultstring | |
| SOAPFaultException | back to summary |
|---|---|
| public SOAPFaultException(QName faultcode, String faultstring, String faultactor, Detail faultdetail) Constructor for the SOAPFaultException
| |
| getDetail | back to summary |
|---|---|
| public Detail getDetail() Gets the detail element. The detail element is intended for carrying application specific error information related to the SOAP Body.
| |
| getFaultActor | back to summary |
|---|---|
| public String getFaultActor() Gets the
| |
| getFaultCode | back to summary |
|---|---|
| public QName getFaultCode() Gets the
| |
| getFaultString | back to summary |
|---|---|
| public String getFaultString() Gets the
| |