Class IllegalNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
IllegalNameException
- All Implemented Interfaces:
- java.io.Serializable
public class IllegalNameException
- extends java.lang.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
Field Summary |
---|
private static java.lang.String | CVS_ID |
Constructor Summary |
---|
IllegalNameException(java.lang.String reason) Creates an exception with the specified error message. |
IllegalNameException(java.lang.String name, java.lang.String construct) This will create an Exception indicating that the specified name is illegal for the construct it was supplied to. |
IllegalNameException(java.lang.String name, java.lang.String construct, java.lang.String reason) This will create an Exception indicating that the specified name is illegal for the construct it was supplied to. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CVS_ID
private static final java.lang.String CVS_ID
- See Also:
- Constant Field Values
IllegalNameException
IllegalNameException(java.lang.String name,
java.lang.String construct,
java.lang.String reason)
- This will create an
Exception
indicating that the specified name is illegal for the construct it was supplied to. - Parameters:
name
- String
name that breaks rules.construct
- String
name of JDOM construct that name
was supplied to.reason
- String
message or reason name is illegal.
IllegalNameException
IllegalNameException(java.lang.String name,
java.lang.String construct)
- This will create an
Exception
indicating that the specified name is illegal for the construct it was supplied to. - Parameters:
name
- String
name that breaks rules.construct
- String
name of JDOM construct that name
was supplied to.
IllegalNameException
public IllegalNameException(java.lang.String reason)
- Creates an exception with the specified error message.
- Parameters:
reason
- cause of the problem