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