Package org.apache.xmlbeans
Class XmlRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.xmlbeans.XmlRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SchemaTypeLoaderException
public class XmlRuntimeException extends RuntimeException
An unchecked XML exception.
May contain any number of
XmlError
objects.- See Also:
XmlError
,XmlException
, Serialized Form
-
Constructor Summary
Constructors Constructor Description XmlRuntimeException(String m)
Constructs an XmlRuntimeException from a message.XmlRuntimeException(String m, Throwable t)
Constructs an XmlRuntimeException from a message and a cause.XmlRuntimeException(String m, Throwable t, Collection errors)
Constructs an XmlRuntimeException from a message, a cause, and a collection of XmlErrors.XmlRuntimeException(String m, Throwable t, XmlError error)
Constructs an XmlRuntimeException from a message, a cause, and an XmlError.XmlRuntimeException(Throwable t)
Constructs an XmlRuntimeException from a cause.XmlRuntimeException(XmlError error)
Constructs an XmlRuntimeException from an XmlError.XmlRuntimeException(XmlException xmlException)
Constructs an XmlRuntimeException from anXmlException
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XmlRuntimeException
Constructs an XmlRuntimeException from a message. -
XmlRuntimeException
Constructs an XmlRuntimeException from a message and a cause. -
XmlRuntimeException
Constructs an XmlRuntimeException from a cause. -
XmlRuntimeException
Constructs an XmlRuntimeException from a message, a cause, and a collection of XmlErrors. -
XmlRuntimeException
Constructs an XmlRuntimeException from an XmlError. -
XmlRuntimeException
Constructs an XmlRuntimeException from a message, a cause, and an XmlError. -
XmlRuntimeException
Constructs an XmlRuntimeException from anXmlException
.
-
-
Method Details