Package org.jdom
Class IllegalTargetException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.jdom.IllegalTargetException
-
- All Implemented Interfaces:
Serializable
public class IllegalTargetException extends IllegalArgumentException
Thrown when a target is supplied in construction of a JDOMProcessingInstruction
, and that name breaks XML naming conventions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalTargetException(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 Detail
-
IllegalTargetException
public IllegalTargetException(String reason)
Creates an exception with the specified error message.- Parameters:
reason
- cause of the problem
-
-