## Uses of Interface
javax.xml.soap.SOAPFault

- Packages that use SOAPFault
  Package | Description
  --- | ---
  javax.xml.soap | Provides the API for creating and building SOAP messages.
  javax.xml.ws.soap | This package defines APIs specific to the SOAP binding.

- - ### Uses of SOAPFault in javax.xml.soap

    Methods in javax.xml.soap that return SOAPFault
    Modifier and Type | Method and Description
    --- | ---
    `SOAPFault` | SOAPBody.`addFault()` Creates a new `SOAPFault` object and adds it to this `SOAPBody` object.
    `SOAPFault` | SOAPBody.`addFault(Name faultCode, String faultString)` Creates a new `SOAPFault` object and adds it to this `SOAPBody` object.
    `SOAPFault` | SOAPBody.`addFault(Name faultCode, String faultString, Locale locale)` Creates a new `SOAPFault` object and adds it to this `SOAPBody` object.
    `SOAPFault` | SOAPBody.`addFault(QName faultCode, String faultString)` Creates a new `SOAPFault` object and adds it to this `SOAPBody` object.
    `SOAPFault` | SOAPBody.`addFault(QName faultCode, String faultString, Locale locale)` Creates a new `SOAPFault` object and adds it to this `SOAPBody` object.
    `abstract SOAPFault` | SOAPFactory.`createFault()` Creates a new default `SOAPFault` object
    `abstract SOAPFault` | SOAPFactory.`createFault(String reasonText, QName faultCode)` Creates a new `SOAPFault` object initialized with the given `reasonText` and `faultCode`
    `SOAPFault` | SOAPBody.`getFault()` Returns the `SOAPFault` object in this `SOAPBody` object.

  - ### Uses of SOAPFault in javax.xml.ws.soap

    Methods in javax.xml.ws.soap that return SOAPFault
    Modifier and Type | Method and Description
    --- | ---
    `SOAPFault` | SOAPFaultException.`getFault()` Gets the embedded `SOAPFault` instance.

    Constructors in javax.xml.ws.soap with parameters of type SOAPFault
    Constructor and Description
    `SOAPFaultException(SOAPFault fault)` Constructor for SOAPFaultException

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.