|
||||||||||
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 trying to add a
illegal object to a JDOM construct.
Constructor Summary | |
IllegalAddException(Document base,
Comment added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the is illegal. |
|
IllegalAddException(Document base,
DocType added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the is illegal. |
|
IllegalAddException(Document base,
Element added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the is illegal. |
|
IllegalAddException(Document base,
ProcessingInstruction added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the is illegal. |
|
IllegalAddException(Element base,
Attribute added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the is illegal. |
|
IllegalAddException(Element base,
CDATA added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
|
|
IllegalAddException(Element base,
Comment added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the is illegal. |
|
IllegalAddException(Element base,
Element added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to parent is illegal. |
|
IllegalAddException(Element base,
EntityRef added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the is illegal. |
|
IllegalAddException(Element base,
Namespace added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the is illegal. |
|
IllegalAddException(Element base,
ProcessingInstruction added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the is illegal. |
|
IllegalAddException(Element base,
Text added,
java.lang.String reason)
This will create an Exception indicating
that the addition of the
to the 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, 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
to the Attribute
is illegal.
Element
base
- Element
that Attribute
couldn't be added toadded
- Attribute
that could not be addedreason
- cause of the problempublic IllegalAddException(Element base, Element added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to parent is illegal.
Element
base
- Element
that the child
couldn't be added toadded
- Element
that could not be addedreason
- cause of the problempublic IllegalAddException(Document base, Element added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to the Element
is illegal.
Document
base
- Document
that the Element
couldn't be added toadded
- Element
that could not be addedreason
- cause of the problempublic IllegalAddException(Element base, ProcessingInstruction added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to the ProcessingInstruction
is illegal.
Element
base
- Element
that the
ProcessingInstruction
couldn't be added toadded
- ProcessingInstruction
that could not be addedreason
- cause of the problempublic IllegalAddException(Document base, ProcessingInstruction added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to the ProcessingInstruction
is illegal.
Document
base
- Document
that the
ProcessingInstruction
couldn't be added toadded
- ProcessingInstruction
that could not be addedreason
- cause of the problempublic IllegalAddException(Element base, Comment added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to the Comment
is illegal.
Element
base
- Element
that the Comment
couldn't be added toadded
- Comment
that could not be addedreason
- cause of the problempublic IllegalAddException(Element base, CDATA added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the CDATA
base
- Element
that the CDATA
couldn't be added toadded
- CDATA
that could not be addedreason
- cause of the problempublic IllegalAddException(Element base, Text added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to the Text
is illegal.
Element
base
- Element
that the Comment
couldn't be added toadded
- Text
that could not be addedreason
- cause of the problempublic IllegalAddException(Document base, Comment added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to the Comment
is illegal.
Document
base
- Document
that the Comment
couldn't be added toadded
- Comment
that could not be addedreason
- cause of the problempublic IllegalAddException(Element base, EntityRef added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to the EntityRef
is illegal.
Element
base
- Element
that the EntityRef
couldn't be added toadded
- EntityRef
reference that could not be addedreason
- cause of the problempublic IllegalAddException(Element base, Namespace added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to the Namespace
is illegal.
Element
base
- Element
that the Namespace
couldn't be added toadded
- Namespace
that could not be addedreason
- cause of the problempublic IllegalAddException(Document base, DocType added, java.lang.String reason)
This will create an Exception
indicating
that the addition of the
to the DocType
is illegal.
Document
base
- Document
that the DocType
couldn't be added toadded
- DocType
that could not be addedreason
- cause of the problempublic IllegalAddException(java.lang.String reason)
This will create an Exception
with the specified
error message.
reason
- cause of the problem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |