|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.xmlbeans.XmlRuntimeException
public class XmlRuntimeException
An unchecked XML exception.
May contain any number of XmlError
objects.
XmlError
,
XmlException
,
Serialized FormConstructor Summary | |
---|---|
XmlRuntimeException(java.lang.String m)
Constructs an XmlRuntimeException from a message. |
|
XmlRuntimeException(java.lang.String m,
java.lang.Throwable t)
Constructs an XmlRuntimeException from a message and a cause. |
|
XmlRuntimeException(java.lang.String m,
java.lang.Throwable t,
java.util.Collection errors)
Constructs an XmlRuntimeException from a message, a cause, and a collection of XmlErrors. |
|
XmlRuntimeException(java.lang.String m,
java.lang.Throwable t,
XmlError error)
Constructs an XmlRuntimeException from a message, a cause, and an XmlError. |
|
XmlRuntimeException(java.lang.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 . |
Method Summary | |
---|---|
XmlError |
getError()
Returns the first XmlError that caused this exception, if any. |
java.util.Collection |
getErrors()
Returns the collection of XmlErrors that caused this exception, if any. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XmlRuntimeException(java.lang.String m)
public XmlRuntimeException(java.lang.String m, java.lang.Throwable t)
public XmlRuntimeException(java.lang.Throwable t)
public XmlRuntimeException(java.lang.String m, java.lang.Throwable t, java.util.Collection errors)
public XmlRuntimeException(XmlError error)
public XmlRuntimeException(java.lang.String m, java.lang.Throwable t, XmlError error)
public XmlRuntimeException(XmlException xmlException)
XmlException
.
Method Detail |
---|
public XmlError getError()
XmlError
that caused this exception, if any.
public java.util.Collection getErrors()
XmlErrors
that caused this exception, if any.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |