public class XmlException extends Exception
XmlError
objects.
XmlError
,
XmlRuntimeException
,
Serialized FormConstructor and Description |
---|
XmlException(String m)
Constructs 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 errors)
Constructs an XmlException from a message, a cause, and a collection of
XmlErrors . |
XmlException(String m,
Throwable t,
XmlError error)
Constructs an XmlException from a message, a cause, and an
XmlError . |
XmlException(Throwable t)
Constructs an XmlException from a cause.
|
XmlException(XmlError error)
Constructs an XmlException from an
XmlError . |
XmlException(XmlRuntimeException xmlRuntimeException)
Constructs an XmlException from an
XmlRuntimeException . |
Modifier and Type | Method and Description |
---|---|
XmlError |
getError()
Returns the first
XmlErrors that caused the exception, if any. |
Collection |
getErrors()
Returns the collection of
XmlErrors that caused the exception, if any. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public XmlException(String m)
public XmlException(String m, Throwable t)
public XmlException(Throwable t)
public XmlException(String m, Throwable t, XmlError error)
XmlError
.public XmlException(String m, Throwable t, Collection errors)
XmlErrors
.public XmlException(XmlRuntimeException xmlRuntimeException)
XmlRuntimeException
.public Collection getErrors()
XmlErrors
that caused the exception, if any.Copyright © 2010 - 2020 Adobe. All Rights Reserved