|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.xml.rpc.soap.SOAPFault
SOAPFault exception class is used for the mapping of the SOAP faults. If the use attribute in the soap:fault is literal, the soap:fault maps to the SOAPFault exception. This class extends the exception class java.lang.Exception and is declared as a checked exception in the service definition interface.
Constructor Summary | |
SOAPFault(QName faultcode,
java.lang.String faultstring,
java.lang.String faultactor,
Detail detail)
Constructor for SOAPFault |
Method Summary | |
Detail |
getDetail()
Gets the detail element. |
java.lang.String |
getFaultActor()
Gets the faultactor element. |
QName |
getFaultCode()
Gets the faultcode element. |
java.lang.String |
getFaultString()
Gets the faultstring element. |
void |
setFaultActor(java.lang.String faultactor)
Sets the faultactor element. |
void |
setFaultCode(QName faultcode)
Sets the faultcode that provides an algorithmic mechanism for the identification of a SOAP fault. |
void |
setFaultString(java.lang.String faultstring)
Sets the faultstring element.The getMessage method also returns the faultstring. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SOAPFault(QName faultcode, java.lang.String faultstring, java.lang.String faultactor, Detail detail)
Method Detail |
public void setFaultCode(QName faultcode)
faultCode
- Qualified name of the faultcodepublic QName getFaultCode()
public void setFaultString(java.lang.String faultstring)
faultstring
- The faultstring element of the
SOAP faultpublic java.lang.String getFaultString()
public void setFaultActor(java.lang.String faultactor)
faultactor
- faultactor element of the SOAP faultpublic java.lang.String getFaultActor()
public Detail getDetail()
Detail
- element of the SOAP fault
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |