| |||||||||
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 Element
or
Attribute
is added to a JDOM
construct illegally..
Constructor Summary | |
IllegalAddException(Element base, Attribute added, String reason) This will create an Exception indicating
that the addition of the Attribute
supplied to the Element supplied
is illegal. | |
IllegalAddException(Element base, Element added, String reason) This will create an Exception indicating
that the addition of the Element
supplied as a child of the supplied parent is not allowed. | |
IllegalAddException(Document base, Element added, String reason) This will create an Exception indicating
that the addition of the Element
supplied as a child of the document is not allowed. | |
IllegalAddException(Element base, ProcessingInstruction added, String reason) This will create an Exception indicating
that the addition of the ProcessingInstruction
supplied as content to the supplied element is not allowed. | |
IllegalAddException(Document base, ProcessingInstruction added, String reason) This will create an Exception indicating
that the addition of the ProcessingInstruction
supplied as content to the supplied document is not allowed. | |
IllegalAddException(Element base, Comment added, String reason) This will create an Exception indicating
that the addition of the Comment
supplied as content to the supplied element is not allowed. | |
IllegalAddException(Document base, Comment added, String reason) This will create an Exception indicating
that the addition of the Comment
supplied as content to the supplied document is not allowed. | |
IllegalAddException(Element base, Entity added, String reason) This will create an Exception indicating
that the addition of the Entity
supplied as content to the supplied element is not allowed. | |
IllegalAddException(String reason) This will create an Exception with the specified
error message. |
Methods inherited from class java.lang.Throwable |
getMessage, getLocalizedMessage, toString, printStackTrace, printStackTrace, printStackTrace, fillInStackTrace |
Methods inherited from class java.lang.Object |
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IllegalAddException(Element base, Attribute added, String reason)
This will create an Exception
indicating
that the addition of the Attribute
supplied to the Element
supplied
is illegal.
Element
that Attribute
couldn't be added toAttribute
that could not be addedpublic IllegalAddException(Element base, Element added, String reason)
This will create an Exception
indicating
that the addition of the Element
supplied as a child of the supplied parent is not allowed.
Element
that the child
couldn't be added toElement
that could not be addedpublic IllegalAddException(Document base, Element added, String reason)
This will create an Exception
indicating
that the addition of the Element
supplied as a child of the document is not allowed.
public IllegalAddException(Element base, ProcessingInstruction added, String reason)
This will create an Exception
indicating
that the addition of the ProcessingInstruction
supplied as content to the supplied element is not allowed.
public IllegalAddException(Document base, ProcessingInstruction added, String reason)
This will create an Exception
indicating
that the addition of the ProcessingInstruction
supplied as content to the supplied document is not allowed.
public IllegalAddException(Element base, Comment added, String reason)
This will create an Exception
indicating
that the addition of the Comment
supplied as content to the supplied element is not allowed.
public IllegalAddException(Document base, Comment added, String reason)
This will create an Exception
indicating
that the addition of the Comment
supplied as content to the supplied document is not allowed.
public IllegalAddException(Element base, Entity added, String reason)
This will create an Exception
indicating
that the addition of the Entity
supplied as content to the supplied element is not allowed.
public IllegalAddException(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 |