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

Quick Search    Search Deep

org.jdom
Class IllegalAddException  view IllegalAddException download IllegalAddException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byorg.jdom.IllegalAddException
All Implemented Interfaces:
java.io.Serializable

public class IllegalAddException
extends java.lang.IllegalArgumentException

Thrown when trying to add a illegal object to a JDOM construct.

Version:
$Revision: 1.25 $, $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
(package private) IllegalAddException(Comment added, java.lang.String reason)
          This will create an Exception indicating that the addition of the Comment to the Document is illegal.
(package private) IllegalAddException(DocType added, java.lang.String reason)
          This will create an Exception indicating that the addition of the DocType to the Document is illegal.
(package private) IllegalAddException(Element base, Attribute added, java.lang.String reason)
          This will create an Exception indicating that the addition of the Attribute to the Element is illegal.
(package private) IllegalAddException(Element base, CDATA added, java.lang.String reason)
          This will create an Exception indicating that the addition of the CDATA
(package private) IllegalAddException(Element base, Comment added, java.lang.String reason)
          This will create an Exception indicating that the addition of the Comment to the Element is illegal.
(package private) IllegalAddException(Element base, Element added, java.lang.String reason)
          This will create an Exception indicating that the addition of the Element to parent is illegal.
(package private) IllegalAddException(Element base, EntityRef added, java.lang.String reason)
          This will create an Exception indicating that the addition of the EntityRef to the Element is illegal.
(package private) IllegalAddException(Element base, Namespace added, java.lang.String reason)
          This will create an Exception indicating that the addition of the Namespace to the Element is illegal.
(package private) IllegalAddException(Element base, ProcessingInstruction added, java.lang.String reason)
          This will create an Exception indicating that the addition of the ProcessingInstruction to the Element is illegal.
(package private) IllegalAddException(Element added, java.lang.String reason)
          This will create an Exception indicating that the addition of the Element to the Document is illegal.
(package private) IllegalAddException(Element base, Text added, java.lang.String reason)
          This will create an Exception indicating that the addition of the Text to the Element is illegal.
(package private) IllegalAddException(ProcessingInstruction added, java.lang.String reason)
          This will create an Exception indicating that the addition of the ProcessingInstruction to the Document is illegal.
  IllegalAddException(java.lang.String reason)
          This will create 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
 

Field Detail

CVS_ID

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

IllegalAddException

IllegalAddException(Element base,
                    Attribute added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the Attribute to the Element is illegal.


IllegalAddException

IllegalAddException(Element base,
                    Element added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the Element to parent is illegal.


IllegalAddException

IllegalAddException(Element added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the Element to the Document is illegal.


IllegalAddException

IllegalAddException(Element base,
                    ProcessingInstruction added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the ProcessingInstruction to the Element is illegal.


IllegalAddException

IllegalAddException(ProcessingInstruction added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the ProcessingInstruction to the Document is illegal.


IllegalAddException

IllegalAddException(Element base,
                    Comment added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the Comment to the Element is illegal.


IllegalAddException

IllegalAddException(Element base,
                    CDATA added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the CDATA


IllegalAddException

IllegalAddException(Element base,
                    Text added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the Text to the Element is illegal.


IllegalAddException

IllegalAddException(Comment added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the Comment to the Document is illegal.


IllegalAddException

IllegalAddException(Element base,
                    EntityRef added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the EntityRef to the Element is illegal.


IllegalAddException

IllegalAddException(Element base,
                    Namespace added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the Namespace to the Element is illegal.


IllegalAddException

IllegalAddException(DocType added,
                    java.lang.String reason)
This will create an Exception indicating that the addition of the DocType to the Document is illegal.


IllegalAddException

public IllegalAddException(java.lang.String reason)
This will create an Exception with the specified error message.