|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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, 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 |
Constructor Detail |
public IllegalAddException(Element base, Attribute added, java.lang.String reason)
Exception
indicating
that the addition of the Attribute
to the Element
is illegal.
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)
Exception
indicating
that the addition of the Element
to parent is illegal.
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)
Exception
indicating
that the addition of the Element
to the Document
is illegal.
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)
Exception
indicating
that the addition of the ProcessingInstruction
to the Element
is illegal.
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)
Exception
indicating
that the addition of the ProcessingInstruction
to the Document
is illegal.
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)
Exception
indicating
that the addition of the Comment
to the Element
is illegal.
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)
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)
Exception
indicating
that the addition of the Text
to the Element
is illegal.
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)
Exception
indicating
that the addition of the Comment
to the Document
is illegal.
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)
Exception
indicating
that the addition of the EntityRef
to the Element
is illegal.
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)
Exception
indicating
that the addition of the Namespace
to the Element
is illegal.
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)
Exception
indicating
that the addition of the DocType
to the Document
is illegal.
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)
Exception
with the specified
error message.
reason
- cause of the problem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |