Package org.jdom2

Class IllegalTargetException

All Implemented Interfaces:
Serializable

public class IllegalTargetException extends IllegalArgumentException
Thrown when a target is supplied in construction of a JDOM ProcessingInstruction, and that name breaks XML naming conventions.
Author:
Brett McLaughlin
See Also:
  • Constructor Details

    • IllegalTargetException

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