Package org.jdom2
Class IllegalTargetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.jdom2.IllegalTargetException
- All Implemented Interfaces:
Serializable
Thrown when a target is supplied in construction of a JDOM
ProcessingInstruction
, and that name breaks XML naming conventions.- Author:
- Brett McLaughlin
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalTargetException
(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
-
IllegalTargetException
Creates an exception with the specified error message.- Parameters:
reason
- cause of the problem
-