Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdom
Class IllegalTargetException  view IllegalTargetException download IllegalTargetException.java

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:
java.io.Serializable

public class IllegalTargetException
extends java.lang.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 $

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static java.lang.String CVS_ID
           
 
Fields inherited from class java.lang.IllegalArgumentException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
  IllegalTargetException(java.lang.String reason)
          Creates an exception with the specified error message.
(package private) IllegalTargetException(java.lang.String target, java.lang.String reason)
          This will create an Exception indicating that the specified target is illegal for the ProcessingInstruction it was supplied to.
 
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
 

Field Detail

CVS_ID

private static final java.lang.String CVS_ID
See Also:
Constant Field Values
Constructor Detail

IllegalTargetException

IllegalTargetException(java.lang.String target,
                       java.lang.String reason)
This will create an Exception indicating that the specified target is illegal for the ProcessingInstruction it was supplied to.


IllegalTargetException

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