    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.jdom.IllegalNameException

    java.lang.Object
       |
       +----java.lang.Throwable
               |
               +----java.lang.Exception
                       |
                       +----java.lang.RuntimeException
                               |
                               +----java.lang.IllegalArgumentException
                                       |
                                       +----org.jdom.IllegalNameException

public class IllegalNameException
extends IllegalArgumentException

`IllegalNameException` is thrown when a name is supplied in construction, etc., of a JDOM construct, and that name breaks XML naming conventions.

Version:
  $Revision: 1.7 $, $Date: 2002/01/08 09:17:10 $
Author:
  Brett McLaughlin, Elliotte Rusty Harold

##

IllegalNameException(String, String)

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

IllegalNameException(String, String, String)

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

##

IllegalNameException

     public 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` name that breaks rules.
    construct - `String` name of JDOM construct that `name` was supplied to.
    reason - `String` message or reason name is illegal.

IllegalNameException

     public 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` name that breaks rules.
    construct - `String` name of JDOM construct that `name` was supplied to.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index