javax.xml.rpc.soap
Class SOAPFault
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--javax.xml.rpc.soap.SOAPFault
- All Implemented Interfaces:
- java.io.Serializable
- public class SOAPFault
- extends java.lang.RuntimeException
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.
- See Also:
- Serialized Form
Constructor Summary |
SOAPFault(QName faultcode,
java.lang.String faultstring,
java.lang.String faultactor,
Detail detail)
Constructor for SOAPFault
|
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 |
SOAPFault
public SOAPFault(QName faultcode,
java.lang.String faultstring,
java.lang.String faultactor,
Detail detail)
- Constructor for SOAPFault
- Parameters:
faultcode
- Qualified name of the faultcodefaultstring
- The faultstring element of the SOAP faultfaultactor
- faultactor element of the SOAP faultdetail
- detail element of the SOAP fault
getFaultCode
public QName getFaultCode()
- Gets the faultcode element.
- Returns:
- Qualified name of the faultcode element
getFaultString
public java.lang.String getFaultString()
- Gets the faultstring element.
- Returns:
- faultstring element of the SOAP fault
getFaultActor
public java.lang.String getFaultActor()
- Gets the faultactor element.
- Returns:
- faultactor element of the SOAP fault
getDetail
public Detail getDetail()
- Gets the detail element.
- Returns:
- detail element of the SOAP fault
Copyright © 2001 Apache XML Project. All Rights Reserved.