public class IllegalAddException
extends java.lang.IllegalArgumentException
IllegalAddException
is thrown when trying to add a
illegal object to a JDOM construct.
Constructor and Description |
---|
IllegalAddException(Document base,
Comment added,
java.lang.String reason)
|
IllegalAddException(Document base,
DocType added,
java.lang.String reason)
|
IllegalAddException(Document base,
Element added,
java.lang.String reason)
|
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)
|
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)
|
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)
|
IllegalAddException(Element base,
Namespace added,
java.lang.String reason)
|
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)
|
IllegalAddException(java.lang.String reason)
This will create an
Exception with the specified
error message. |
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)
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 problemCopyright (c) 2017 Software AG. All Rights Reserved.