Package org.jdom
Class IllegalAddException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.jdom.IllegalAddException
-
- All Implemented Interfaces:
Serializable
public class IllegalAddException extends IllegalArgumentException
Thrown when trying to add an illegal object to a JDOM construct.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalAddException(String reason)
This will create anException
with the specified error message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalAddException
public IllegalAddException(String reason)
This will create anException
with the specified error message.- Parameters:
reason
- cause of the problem
-
-