Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.wsee.jws
Class SoapFaultException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  weblogic.wsee.jws.SoapFaultException

All Implemented Interfaces:
  Serializable

Deprecated. - JWS and Web Service Clients should use JAX/RPC generated Exception classes for generating/handling SOAP Faults.

    public class SoapFaultException

extends RuntimeException

The SoapFaultException is a wrapper exception that enables the web service developer to generate a specific SOAP fault.

See Also:
  Serialized Form

Field Summary
`static int` | `FAULT_SOAP11` Deprecated.
`static int` | `FAULT_SOAP12` Deprecated.
`static int` | `FAULT_UNKNOWN` Deprecated.

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

### FAULT_UNKNOWN

    public static final int FAULT_UNKNOWN

  Deprecated.
  See Also:
    Constant Field Values

### FAULT_SOAP11

    public static final int FAULT_SOAP11

  Deprecated.
  See Also:
    Constant Field Values

### FAULT_SOAP12

    public static final int FAULT_SOAP12

  Deprecated.
  See Also:
    Constant Field Values

Constructor Detail

### SoapFaultException

    public SoapFaultException(XmlObject detailContent,
                              String s)

  Deprecated.

  Assumes the user just wants to generate the fault document defined in the WSDL for the current operation. This form defaults to server/receiver as the cause.

  Parameters:
    `detailContent` - - only the content of Details element (can contain attributes and elements)

### SoapFaultException

    public SoapFaultException(XmlObject[] detailContent)

  Deprecated.
  Assumes the user just wants to generate the fault document defined in the WSDL for the current operation. This form defaults to server/receiver as the cause.

  Parameters:
    `detailContent` -

### SoapFaultException

    public SoapFaultException(XmlObject xmlObj)

  Deprecated.
  User wants to own the shape of the fault. The user has to know which version of the envelop to use.

  Parameters:
    `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
  See Also:
    ````

Method Detail

### hasDetail

    public boolean hasDetail()

  Deprecated.
  Returns:
    whether the fault contains detail

### hasFault

    public boolean hasFault()

  Deprecated.
  Returns:
    whether this holds a fault

### getDetail

    public XmlObject[] getDetail()

  Deprecated.
  Returns:
    detail

### isCausedBySender

    public boolean isCausedBySender()

  Deprecated.
  Returns:
    senderIsCause

### getFault

    public XmlObject getFault()

  Deprecated.
  Returns:
    fault

### soapFaultVersion

    public int soapFaultVersion()

  Deprecated.
  Returns:
    soapFaultVersion

### setCausedBySender

    public void setCausedBySender(boolean senderIsCause)

  Deprecated.
  Settes the code in the SoapFault: for Soap 1.2 Sender/Receiver, for Soap 1.1 Client/Server

  Parameters:
    `senderIsCause` - if true: Sender (Client for Soap 1.1) else: Receiver (Server for Soap 1.1)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD