| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
weblogic.wsee.jws.SoapFaultException
public class SoapFaultException
The SoapFaultException is a wrapper exception that enables the web service developer to generate a specific SOAP fault.
| Field Summary | |
|---|---|
| static int | FAULT_SOAP11Deprecated. | 
| static int | FAULT_SOAP12Deprecated. | 
| static int | FAULT_UNKNOWNDeprecated. | 
| Constructor Summary | |
|---|---|
| SoapFaultException(XmlObject xmlObj)Deprecated. User wants to own the shape of the fault. | |
| SoapFaultException(XmlObject[] detailContent)Deprecated. Assumes the user just wants to generate the fault document defined in the WSDL for the current operation. | |
| SoapFaultException(XmlObject detailContent,
                   String s)Deprecated. | |
| Method Summary | |
|---|---|
|  XmlObject[] | getDetail()Deprecated. | 
|  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. | 
| 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 | 
|---|
| clone, equals, finalize, 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(XmlObject detailContent,
                          String s)
detailContent - - only the content of Details element
 (can contain attributes and elements)public SoapFaultException(XmlObject[] detailContent)
detailContent - public SoapFaultException(XmlObject xmlObj)
xmlObj - the entire Fault XmlBean if it's org.xmlsoap.schemas.soap.envelope.Fault or com.bea.xml.wsschema.soap12Env.Fault
     or xmlObj reprezents the details to be put inside the fault| Method Detail | 
|---|
public boolean hasDetail()
public boolean hasFault()
public XmlObject[] getDetail()
public boolean isCausedBySender()
public 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)| 
 | Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.3 API Reference 11g Release 1 (10.3.3) Part Number E13941-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||