## Uses of Class
org.apache.axiom.om.OMException

- Packages that use OMException
  Package | Description
  --- | ---
  org.apache.axiom.attachments |
  org.apache.axiom.om | Contains core interfaces of the Axiom API.
  org.apache.axiom.om.ds.custombuilder |
  org.apache.axiom.om.util |
  org.apache.axiom.soap |

- - ### Uses of OMException in org.apache.axiom.attachments

    Methods in org.apache.axiom.attachments that throw OMException
    Modifier and Type | Method | Description
    --- | --- | ---
    `IncomingAttachmentInputStream` | IncomingAttachmentStreams.`getNextStream()` | Returns the next attachment stream in sequence.
    `InputStream` | Attachments.`getRootPartInputStream()` | Get an input stream for the root part of the MIME message.
    `InputStream` | Attachments.`getRootPartInputStream​(boolean preserve)` | Get an input stream for the root part of the MIME message.
    `InputStream` | Attachments.`getSOAPPartInputStream()` | Deprecated. Use `Attachments.getRootPartInputStream()` instead.

    Constructors in org.apache.axiom.attachments that throw OMException
    Constructor | Description
    --- | ---
    `Attachments​(InputStream inStream, String contentTypeString)` | Sets file cache to false.
    `Attachments​(InputStream inStream, String contentTypeString, boolean fileCacheEnable, String attachmentRepoDir, String fileThreshold)` | Moves the pointer to the beginning of the first MIME part.
    `Attachments​(InputStream inStream, String contentTypeString, boolean fileCacheEnable, String attachmentRepoDir, String fileThreshold, int contentLength)` | Moves the pointer to the beginning of the first MIME part.
    `Attachments​(LifecycleManager manager, InputStream inStream, String contentTypeString, boolean fileCacheEnable, String attachmentRepoDir, String fileThreshold)` | Moves the pointer to the beginning of the first MIME part.
    `Attachments​(LifecycleManager manager, InputStream inStream, String contentTypeString, boolean fileCacheEnable, String attachmentRepoDir, String fileThreshold, int contentLength)` | Moves the pointer to the beginning of the first MIME part.

  - ### Uses of OMException in org.apache.axiom.om

    Subclasses of OMException in org.apache.axiom.om
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DeferredParsingException` | Exception indicating that an operation could not be completed because it needed to read additional data from the underlying parser and that action failed.
    `class` | `NodeUnavailableException` | Exception indicating that a requested node cannot be returned because it is no longer available.
    `class` | `OMHierarchyException` | Thrown if an object model operation would lead to a hierarchy that is not allowed.

    Methods in org.apache.axiom.om that throw OMException
    Modifier and Type | Method | Description
    --- | --- | ---
    `OMElement` | OMFactory.`createOMElement​(String localName, OMNamespace ns, OMContainer parent)` | Create an element with the given name and parent.
    `OMNode` | OMNode.`detach()` | Removes a node (and all of its children) from its containing parent.
    `void` | OMNode.`discard()` | Discards a node.
    `OMElement` | OMContainer.`getFirstChildWithName​(QName qname)` | Returns the first child in document order that matches the given QName.
    `OMNode` | OMNode.`getNextOMSibling()` | Returns the next sibling in document order.
    `void` | OMNode.`insertSiblingAfter​(OMNode sibling)` | Inserts a new sibling after the current node.
    `void` | OMNode.`insertSiblingBefore​(OMNode sibling)` | Inserts a sibling just before the current node.

  - ### Uses of OMException in org.apache.axiom.om.ds.custombuilder

    Methods in org.apache.axiom.om.ds.custombuilder that throw OMException
    Modifier and Type | Method | Description
    --- | --- | ---
    `OMDataSource` | BlobOMDataSourceCustomBuilder.`create​(OMElement element)` |
    `OMDataSource` | CustomBuilder.`create​(OMElement element)` | Create an `OMDataSource` from the given `OMElement`.

  - ### Uses of OMException in org.apache.axiom.om.util

    Methods in org.apache.axiom.om.util that throw OMException
    Modifier and Type | Method | Description
    --- | --- | ---
    `byte[]` | DigestGenerator.`getDigest​(OMAttribute attribute, String digestAlgorithm)` | This method is an overloaded method for the digest generation for OMAttribute
    `byte[]` | DigestGenerator.`getDigest​(OMDocument document, String digestAlgorithm)` | This method is an overloaded method for the digest generation for OMDocument
    `byte[]` | DigestGenerator.`getDigest​(OMElement element, String digestAlgorithm)` | This method is an overloaded method for the digest generation for OMElement
    `byte[]` | DigestGenerator.`getDigest​(OMProcessingInstruction pi, String digestAlgorithm)` | This method is an overloaded method for the digest generation for OMProcessingInstruction
    `byte[]` | DigestGenerator.`getDigest​(OMText text, String digestAlgorithm)` | This method is an overloaded method for the digest generation for OMText

  - ### Uses of OMException in org.apache.axiom.soap

    Subclasses of OMException in org.apache.axiom.soap
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SOAPProcessingException` |

    Methods in org.apache.axiom.soap that throw OMException
    Modifier and Type | Method | Description
    --- | --- | ---
    `SOAPFault` | SOAPBody.`addFault​(Exception e)` | Creates a new `SOAPFault` object and adds it to this `SOAPBody` object.
    `void` | SOAPBody.`addFault​(SOAPFault soapFault)` |
    `SOAPHeaderBlock` | SOAPHeader.`addHeaderBlock​(String localName, OMNamespace ns)` | Creates a new `SOAPHeaderBlock` object initialized with the specified name and adds it to this `SOAPHeader` object.
    `SOAPHeaderBlock` | SOAPHeader.`addHeaderBlock​(QName qname)` | Creates a new `SOAPHeaderBlock` object initialized with the specified name and adds it to this `SOAPHeader` object.
    `SOAPBody` | SOAPEnvelope.`getBody()` | Returns the `SOAPBody` object associated with this `SOAPEnvelope` object.
    `Exception` | SOAPFault.`getException()` | Returns Exception if there is one in the SOAP fault.
    `void` | SOAPFault.`setException​(Exception e)` |