Package org.jdom2
Class IllegalNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.jdom2.IllegalNameException
- All Implemented Interfaces:
Serializable
Thrown when a name is supplied in construction of a JDOM construct whose
where the name breaks XML naming conventions.
- Author:
- Brett McLaughlin, Elliotte Rusty Harold
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalNameException
(String reason) Creates an exception 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 Details
-
IllegalNameException
Creates an exception with the specified error message.- Parameters:
reason
- cause of the problem
-