|
||||||||||
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,
Comment added,
String reason)
This will create an Exception indicating
that the addition of the
supplied as content to the supplied document is not allowed. |
|
IllegalAddException(Document base,
DocType added,
String reason)
This will create an Exception indicating
that the addition of the
to the supplied document is not allowed. |
|
IllegalAddException(Document base,
Element added,
String reason)
This will create an Exception indicating
that the addition of the
supplied as a child of the document is not allowed. |
|
IllegalAddException(Document base,
ProcessingInstruction added,
String reason)
This will create an Exception indicating
that the addition of the
supplied as content to the supplied document is not allowed. |
|
IllegalAddException(Element base,
Attribute added,
String reason)
This will create an Exception indicating
that the addition of the
supplied to the supplied
is illegal. |
|
IllegalAddException(Element base,
Comment added,
String reason)
This will create an Exception indicating
that the addition of the
supplied as content to the supplied element is not allowed. |
|
IllegalAddException(Element base,
Element added,
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(Element base,
EntityRef added,
String reason)
This will create an Exception indicating
that the addition of the
supplied as content to the supplied element is not allowed. |
|
IllegalAddException(Element base,
Namespace added,
String reason)
This will create an Exception indicating
that the addition of the
to the supplied element is not allowed. |
|
IllegalAddException(Element base,
ProcessingInstruction added,
String reason)
This will create an Exception indicating
that the addition of the
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 |
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, 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 addedreason
- cause for the problempublic IllegalAddException(Element base, Element added, 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 addedreason
- cause for the problempublic IllegalAddException(Document base, Element added, 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(Element base, ProcessingInstruction added, String reason)
This will create an Exception
indicating
that the addition of the
supplied as content to the supplied element is not allowed.
ProcessingInstruction
base
- element that the PI couldn't be added toadded
- PI that could not be addedreason
- cause for the problempublic IllegalAddException(Document base, ProcessingInstruction added, String reason)
This will create an Exception
indicating
that the addition of the
supplied as content to the supplied document is not allowed.
ProcessingInstruction
base
- document that the PI couldn't be added toadded
- PI that could not be addedreason
- cause for the problempublic IllegalAddException(Element base, Comment added, String reason)
This will create an Exception
indicating
that the addition of the
supplied as content to the supplied element is not allowed.
Comment
base
- element that the comment couldn't be added toadded
- comment that could not be addedreason
- cause for the problempublic IllegalAddException(Document base, Comment added, String reason)
This will create an Exception
indicating
that the addition of the
supplied as content to the supplied document is not allowed.
Comment
base
- document that the PI couldn't be added toadded
- PI that could not be addedreason
- cause for the problempublic IllegalAddException(Element base, EntityRef added, String reason)
This will create an Exception
indicating
that the addition of the
supplied as content to the supplied element is not allowed.
EntityRef
base
- element that the entity couldn't be added toadded
- entity reference that could not be addedreason
- cause for the problempublic IllegalAddException(Element base, Namespace added, String reason)
This will create an Exception
indicating
that the addition of the
to the supplied element is not allowed.
Namespace
base
- element that the entity couldn't be added toadded
- namespace that could not be addedreason
- cause for the problempublic IllegalAddException(Document base, DocType added, String reason)
This will create an Exception
indicating
that the addition of the
to the supplied document is not allowed.
DocType
base
- document that the entity couldn't be added toadded
- doctype that could not be addedreason
- cause for the problempublic 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 |