JDOM
1.0

org.jdom
Class IllegalTargetException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byorg.jdom.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.

Version:
$Revision: 1.14 $, $Date: 2004/02/06 09:28:30 $
Author:
Brett McLaughlin
See Also:
Serialized Form

Constructor Summary
IllegalTargetException(String reason)
          Creates an exception with the specified error message.
 
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
 

Constructor Detail

IllegalTargetException

public IllegalTargetException(String reason)
Creates an exception with the specified error message.

Parameters:
reason - cause of the problem

JDOM
1.0

Copyright ? 2004 Jason Hunter, Brett McLaughlin. All Rights Reserved.