Package org.apache.xmlbeans
Class XmlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.xmlbeans.XmlException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
XPath.XPathCompileException
,XPathGenerationException
A checked exception that can be thrown while processing,
parsing, or compiling XML. May contain any number of
XmlError
objects.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an XmlException from a message.XmlException
(String m, Throwable t) Constructs an XmlException from a message and a cause.XmlException
(String m, Throwable t, Collection<XmlError> errors) Constructs an XmlException from a message, a cause, and a collection ofXmlErrors
.XmlException
(String m, Throwable t, XmlError error) Constructs an XmlException from a message, a cause, and anXmlError
.Constructs an XmlException from a cause.XmlException
(XmlError error) Constructs an XmlException from anXmlError
.XmlException
(XmlRuntimeException xmlRuntimeException) Constructs an XmlException from anXmlRuntimeException
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XmlException
Constructs an XmlException from a message. -
XmlException
Constructs an XmlException from a message and a cause. -
XmlException
Constructs an XmlException from a cause. -
XmlException
Constructs an XmlException from anXmlError
. -
XmlException
Constructs an XmlException from a message, a cause, and anXmlError
. -
XmlException
Constructs an XmlException from a message, a cause, and a collection ofXmlErrors
. -
XmlException
Constructs an XmlException from anXmlRuntimeException
.
-
-
Method Details