Uses of Class
org.apache.axiom.om.OMException
Packages that use OMException
Package
Description
Contains core interfaces of the Axiom API.
-
Uses of OMException in org.apache.axiom.attachments
Methods in org.apache.axiom.attachments that throw OMExceptionModifier and TypeMethodDescriptionIncomingAttachmentStreams.getNextStream()
Returns the next attachment stream in sequence.Attachments.getRootPartInputStream()
Get an input stream for the root part of the MIME message.Attachments.getRootPartInputStream
(boolean preserve) Get an input stream for the root part of the MIME message.Attachments.getSOAPPartInputStream()
Deprecated.Constructors in org.apache.axiom.attachments that throw OMExceptionModifierConstructorDescriptionAttachments
(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.omModifier and TypeClassDescriptionclass
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
Exception indicating that a requested node cannot be returned because it is no longer available.class
Thrown if an object model operation would lead to a hierarchy that is not allowed.Methods in org.apache.axiom.om that throw OMExceptionModifier and TypeMethodDescriptionOMFactory.createOMElement
(String localName, OMNamespace ns, OMContainer parent) Create an element with the given name and parent.OMNode.detach()
Removes a node (and all of its children) from its containing parent.void
OMNode.discard()
Discards a node.OMContainer.getFirstChildWithName
(QName qname) Returns the first child in document order that matches the given QName.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 -
Uses of OMException in org.apache.axiom.om.util
Methods in org.apache.axiom.om.util that throw OMExceptionModifier and TypeMethodDescriptionbyte[]
DigestGenerator.getDigest
(OMAttribute attribute, String digestAlgorithm) This method is an overloaded method for the digest generation for OMAttributebyte[]
DigestGenerator.getDigest
(OMDocument document, String digestAlgorithm) This method is an overloaded method for the digest generation for OMDocumentbyte[]
This method is an overloaded method for the digest generation for OMElementbyte[]
DigestGenerator.getDigest
(OMProcessingInstruction pi, String digestAlgorithm) This method is an overloaded method for the digest generation for OMProcessingInstructionbyte[]
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.soapMethods in org.apache.axiom.soap that throw OMExceptionModifier and TypeMethodDescriptionCreates a newSOAPFault
object and adds it to thisSOAPBody
object.void
SOAPHeader.addHeaderBlock
(String localName, OMNamespace ns) Creates a newSOAPHeaderBlock
object initialized with the specified name and adds it to thisSOAPHeader
object.SOAPHeader.addHeaderBlock
(QName qname) Creates a newSOAPHeaderBlock
object initialized with the specified name and adds it to thisSOAPHeader
object.SOAPEnvelope.getBody()
Returns theSOAPBody
object associated with thisSOAPEnvelope
object.SOAPFault.getException()
Returns Exception if there is one in the SOAP fault.void
SOAPFault.setException
(Exception e)
Attachments.getRootPartInputStream()
instead.