Package org.jdom2

Class 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.
Author:
Brett McLaughlin, Elliotte Rusty Harold
See Also:
  • Constructor Details

    • IllegalNameException

      public IllegalNameException(String reason)
      Creates an exception with the specified error message.
      Parameters:
      reason - cause of the problem