Class IllegalTargetException

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

See Also:
Serialized Form

Field Summary
private static java.lang.StringCVS_ID
           
 
Constructor Summary
IllegalTargetException(java.lang.String reason)
          Creates an exception with the specified error message.
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.
 
Method Summary
 
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.

Parameters:
target - String target that breaks rules.
reason - String message or reason target is illegal.

IllegalTargetException

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

Parameters:
reason - cause of the problem