Uses of Interface javax.xml.soap.SOAPFault (Java SE 10 & JDK 10 )

## 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 | Description
    --- | --- | ---
    `SOAPFault` | SOAPBody.`addFault()` | 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.
    `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.
    `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 | Description
    --- | --- | ---
    `SOAPFault` | SOAPFaultException.`getFault()` | Gets the embedded `SOAPFault` instance.

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