| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IllegalArgumentException
                          |
                          +--org.jdom.IllegalAddException
IllegalAddException
   is thrown when an  or
   Element is added to a JDOM
   construct illegally..
 Attribute
| Constructor Summary | |
IllegalAddException(Document base,
                    Element added,
                    java.lang.String reason)
This will create an Exception indicating
   that the addition of the 
   supplied as a child of the document is not allowed. | 
|
IllegalAddException(Element base,
                    Attribute added,
                    java.lang.String reason)
This will create an Exception indicating
   that the addition of the 
   supplied to the  supplied
   is illegal. | 
|
IllegalAddException(Element base,
                    Element added,
                    java.lang.String reason)
This will create an Exception indicating
   that the addition of the 
   supplied as a child of the supplied parent is not allowed. | 
|
IllegalAddException(java.lang.String reason)
This will create an Exception with the specified
   error message. | 
|
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, 
getLocalizedMessage, 
getMessage, 
printStackTrace, 
printStackTrace, 
printStackTrace, 
toString | 
| Methods inherited from class java.lang.Object | 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait | 
| Constructor Detail | 
public IllegalAddException(Element base,
                           Attribute added,
                           java.lang.String reason)
 This will create an Exception indicating
   that the addition of the 
   supplied to the Attribute supplied
   is illegal.
 Element
base - Element that Attribute
        couldn't be added toadded - Attribute that could not be added
public IllegalAddException(Element base,
                           Element added,
                           java.lang.String reason)
 This will create an Exception indicating
   that the addition of the 
   supplied as a child of the supplied parent is not allowed.
 Element
base - Element that the child
        couldn't be added toadded - Element that could not be added
public IllegalAddException(Document base,
                           Element added,
                           java.lang.String reason)
 This will create an Exception indicating
   that the addition of the 
   supplied as a child of the document is not allowed.
 Element
public IllegalAddException(java.lang.String reason)
 This will create an Exception with the specified
   error message.
 
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||