Package org.jdom2
Class JDOMException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jdom2.JDOMException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DataConversionException,JDOMParseException,XSLTransformException
public class JDOMException extends java.lang.ExceptionThe 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.- Author:
- Brett McLaughlin, Jason Hunter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JDOMException()This will create anException.JDOMException(java.lang.String message)This will create anExceptionwith the given message.JDOMException(java.lang.String message, java.lang.Throwable cause)This will create anExceptionwith the given message and wrap anotherException.
-
-
-
Constructor Detail
-
JDOMException
public JDOMException()
This will create anException.
-
JDOMException
public JDOMException(java.lang.String message)
This will create anExceptionwith the given message.- Parameters:
message-Stringmessage indicating the problem that occurred.
-
JDOMException
public JDOMException(java.lang.String message, java.lang.Throwable cause)This will create anExceptionwith the given message and wrap anotherException. This is useful when the originatingExceptionshould be held on to.- Parameters:
message-Stringmessage indicating the problem that occurred.cause-Throwablethat caused this to be thrown.
-
-