java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
IllegalAddException
public class IllegalAddException
Thrown when trying to add a illegal object to a JDOM construct.
Field Summary | |
---|---|
private static java.lang.String | CVS_ID |
Constructor Summary | |
---|---|
IllegalAddException(Comment added, java.lang.String reason) This will create an Exception indicating that the addition of the to the is illegal. | |
IllegalAddException(DocType 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 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(ProcessingInstruction 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. |
Method Summary |
---|
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 |
Field Detail |
---|
private static final java.lang.String CVS_ID
Constructor Detail |
---|
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 problemIllegalAddException(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 problemIllegalAddException(Element added, java.lang.String reason)
Exception
indicating that the addition of the Element
to the Document
is illegal. added
- Element
that could not be addedreason
- cause of the problemIllegalAddException(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 problemIllegalAddException(ProcessingInstruction added, java.lang.String reason)
Exception
indicating that the addition of the ProcessingInstruction
to the Document
is illegal. added
- ProcessingInstruction
that could not be addedreason
- cause of the problemIllegalAddException(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 problemIllegalAddException(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 problemIllegalAddException(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 problemIllegalAddException(Comment added, java.lang.String reason)
Exception
indicating that the addition of the Comment
to the Document
is illegal. added
- Comment
that could not be addedreason
- cause of the problemIllegalAddException(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 problemIllegalAddException(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 problemIllegalAddException(DocType added, java.lang.String reason)
Exception
indicating that the addition of the DocType
to the Document
is illegal. added
- 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