Top Description Fields Constructors
org.jdom

public Class IllegalNameException

extends IllegalArgumentException
Class Inheritance

Thrown when a name is supplied in construction of a JDOM construct whose where the name breaks XML naming conventions.
Authors
Brett McLaughlin, Elliotte Rusty Harold
Version
$Revision: 1.14 $, $Date: 2007/11/10 05:28:59 $

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv
IllegalNameException(String
String name that breaks rules.
name
,
String
String name of JDOM construct that name was supplied to.
construct
,
String
String message or reason name is illegal.
reason
)

This will create an Exception indicating that the specified name is illegal for the construct it was supplied to.

pack-priv
IllegalNameException(String
String name that breaks rules.
name
,
String
String name of JDOM construct that name was supplied to.
construct
)

This will create an Exception indicating that the specified name is illegal for the construct it was supplied to.

public
IllegalNameException(String
cause of the problem
reason
)

Creates an exception with the specified error message.

Field Detail

CVS_IDback to summary
private static final String CVS_ID

Constructor Detail

IllegalNameExceptionback to summary
pack-priv IllegalNameException(String name, String construct, String reason)

This will create an Exception indicating that the specified name is illegal for the construct it was supplied to.

Parameters
name:String

String name that breaks rules.

construct:String

String name of JDOM construct that name was supplied to.

reason:String

String message or reason name is illegal.

IllegalNameExceptionback to summary
pack-priv IllegalNameException(String name, String construct)

This will create an Exception indicating that the specified name is illegal for the construct it was supplied to.

Parameters
name:String

String name that breaks rules.

construct:String

String name of JDOM construct that name was supplied to.

IllegalNameExceptionback to summary
public IllegalNameException(String reason)

Creates an exception with the specified error message.

Parameters
reason:String

cause of the problem