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