|
JDOM 2.0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jdom2.JDOMException
public class JDOMException
The top level 'checked' exception that JDOM classes can throw. JDOM does throw a number of unchecked exceptions, but all the checked exceptions are descendants of this class.
Constructor Summary | |
---|---|
JDOMException()
This will create an Exception . |
|
JDOMException(java.lang.String message)
This will create an Exception with the given message. |
|
JDOMException(java.lang.String message,
java.lang.Throwable cause)
This will create an Exception with the given message
and wrap another Exception . |
Method Summary |
---|
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 JDOMException()
Exception
.
public JDOMException(java.lang.String message)
Exception
with the given message.
message
- String
message indicating
the problem that occurred.public JDOMException(java.lang.String message, java.lang.Throwable cause)
Exception
with the given message
and wrap another Exception
. This is useful when
the originating Exception
should be held on to.
message
- String
message indicating
the problem that occurred.cause
- Throwable
that caused this
to be thrown.
|
JDOM 2.0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |