public class XmlRuntimeException extends RuntimeException
XmlError objects.XmlError,
XmlException,
Serialized Form| Constructor 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<XmlError> 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<XmlError> |
getErrors()
Returns the collection of
XmlErrors that caused this exception, if any. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic XmlRuntimeException(String m)
public XmlRuntimeException(String m, Throwable t)
public XmlRuntimeException(Throwable t)
public XmlRuntimeException(String m, Throwable t, Collection<XmlError> errors)
public XmlRuntimeException(XmlError error)
public XmlRuntimeException(String m, Throwable t, XmlError error)
public XmlRuntimeException(XmlException xmlException)
XmlException.public Collection<XmlError> getErrors()
XmlErrors that caused this exception, if any.