|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.bea.jws.SoapFaultException
public class SoapFaultException
The SoapFaultException is a wrapper exception that enables the web service developer to generate a specific SOAP fault.
SoapFault
,
Serialized FormField Summary | |
---|---|
static int |
FAULT_SOAP11
|
static int |
FAULT_SOAP12
|
static int |
FAULT_UNKNOWN
|
Constructor Summary | |
---|---|
SoapFaultException(org.apache.xmlbeans.XmlObject xmlObj)
User wants to own the shape of the fault. |
|
SoapFaultException(org.apache.xmlbeans.XmlObject[] detailContent)
Assumes the user just wants to generate the fault document defined in the WSDL for the current operation. |
|
SoapFaultException(org.apache.xmlbeans.XmlObject detailContent,
String s)
Deprecated. |
Method Summary | |
---|---|
org.apache.xmlbeans.XmlObject[] |
getDetail()
|
org.apache.xmlbeans.XmlObject |
getFault()
|
boolean |
hasDetail()
|
boolean |
hasFault()
|
boolean |
isCausedBySender()
|
void |
setCausedBySender(boolean senderIsCause)
Settes the code in the SoapFault: for Soap 1.2 Sender/Receiver, for Soap 1.1 Client/Server |
int |
soapFaultVersion()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FAULT_UNKNOWN
public static final int FAULT_SOAP11
public static final int FAULT_SOAP12
Constructor Detail |
---|
public SoapFaultException(org.apache.xmlbeans.XmlObject detailContent, String s)
detailContent
- - only the content of Details element
(can contain attributes and elements)public SoapFaultException(org.apache.xmlbeans.XmlObject[] detailContent)
detailContent
- public SoapFaultException(org.apache.xmlbeans.XmlObject xmlObj)
xmlObj
- the entire Fault XmlBean if it's org.xmlsoap.schemas.soap.envelope.Fault or org.apache.xmlbeans.wsschema.soap12Env.Fault
or xmlObj reprezents the details to be put inside the fault
Method Detail |
---|
public boolean hasDetail()
public boolean hasFault()
public org.apache.xmlbeans.XmlObject[] getDetail()
public boolean isCausedBySender()
public org.apache.xmlbeans.XmlObject getFault()
public int soapFaultVersion()
public void setCausedBySender(boolean senderIsCause)
senderIsCause
- if true: Sender (Client for Soap 1.1)
else: Receiver (Server for Soap 1.1)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |