IllegalAddException
public IllegalAddException(String reason)
This will create an Exception with the specified
error message.
reason - cause of the problem
IllegalAddException
public IllegalAddException(Document base,
Comment added,
String reason)
This will create an
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 problem
IllegalAddException
public IllegalAddException(Document base,
DocType added,
String reason)
This will create an
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 problem
IllegalAddException
public IllegalAddException(Document base,
Element added,
String reason)
This will create an
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 problem
IllegalAddException
public IllegalAddException(Document base,
ProcessingInstruction added,
String reason)base - Document that the
ProcessingInstruction couldn't be added toadded - ProcessingInstruction that could not be addedreason - cause of the problem
IllegalAddException
public IllegalAddException(Element base,
Attribute added,
String reason)
This will create an
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 problem
IllegalAddException
public IllegalAddException(Element base,
CDATA added,
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 problem
IllegalAddException
public IllegalAddException(Element base,
Comment added,
String reason)
This will create an
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 problem
IllegalAddException
public IllegalAddException(Element base,
Element added,
String reason)
This will create an
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 problem
IllegalAddException
public IllegalAddException(Element base,
EntityRef added,
String reason)
This will create an
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 problem
IllegalAddException
public IllegalAddException(Element base,
Namespace added,
String reason)
This will create an
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 problem
IllegalAddException
public IllegalAddException(Element base,
ProcessingInstruction added,
String reason)base - Element that the
ProcessingInstruction couldn't be added toadded - ProcessingInstruction that could not be addedreason - cause of the problem
IllegalAddException
public IllegalAddException(Element base,
Text added,
String reason)
This will create an
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 problem