public class SoapFaultException extends RuntimeException
SoapFaultException
is a wrapper exception that enables the
web service developer to generate a specific SOAP fault.Modifier and Type | Field and Description |
---|---|
static int |
FAULT_SOAP11
Deprecated.
|
static int |
FAULT_SOAP12
Deprecated.
|
static int |
FAULT_UNKNOWN
Deprecated.
|
Constructor and Description |
---|
SoapFaultException(org.apache.xmlbeans.XmlObject xmlObj)
Deprecated.
User wants to own the shape of the fault.
|
SoapFaultException(org.apache.xmlbeans.XmlObject[] detailContent)
Deprecated.
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.
|
Modifier and Type | Method and Description |
---|---|
org.apache.xmlbeans.XmlObject[] |
getDetail()
Deprecated.
|
org.apache.xmlbeans.XmlObject |
getFault()
Deprecated.
|
boolean |
hasDetail()
Deprecated.
|
boolean |
hasFault()
Deprecated.
|
boolean |
isCausedBySender()
Deprecated.
|
void |
setCausedBySender(boolean senderIsCause)
Deprecated.
Settes the code in the SoapFault:
for Soap 1.2 Sender/Receiver,
for Soap 1.1 Client/Server
|
int |
soapFaultVersion()
Deprecated.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int FAULT_UNKNOWN
public static final int FAULT_SOAP11
public static final int FAULT_SOAP12
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 weblogic.wsee.schema.soapEnv11.Fault or weblogic.wsee.schema.soapEnv12.Fault
or xmlObj represents the details to be put inside the faultpublic 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)