org.jdom

Class IllegalAddException

public class IllegalAddException extends IllegalArgumentException

IllegalAddException is thrown when trying to add a illegal object to a JDOM construct.

Version: $Revision: 1.17 $, $Date: 2002/02/23 11:30:13 $

Author: Brett McLaughlin

Constructor Summary
IllegalAddException(Element base, Attribute added, String reason)

This will create an Exception indicating that the addition of the Attribute to the Element is illegal.

IllegalAddException(Element base, Element added, String reason)

This will create an Exception indicating that the addition of the Element to parent is illegal.

IllegalAddException(Document base, Element added, String reason)

This will create an Exception indicating that the addition of the Element to the Document is illegal.

IllegalAddException(Element base, ProcessingInstruction added, String reason)

This will create an Exception indicating that the addition of the ProcessingInstruction to the Element is illegal.

IllegalAddException(Document base, ProcessingInstruction added, String reason)

This will create an Exception indicating that the addition of the ProcessingInstruction to the Document is illegal.

IllegalAddException(Element base, Comment added, String reason)

This will create an Exception indicating that the addition of the Comment to the Element is illegal.

IllegalAddException(Element base, CDATA added, String reason)

This will create an Exception indicating that the addition of the CDATA

IllegalAddException(Element base, Text added, String reason)

This will create an Exception indicating that the addition of the Text to the Element is illegal.

IllegalAddException(Document base, Comment added, String reason)

This will create an Exception indicating that the addition of the Comment to the Document is illegal.

IllegalAddException(Element base, EntityRef added, String reason)

This will create an Exception indicating that the addition of the EntityRef to the Element is illegal.

IllegalAddException(Element base, Namespace added, String reason)

This will create an Exception indicating that the addition of the Namespace to the Element is illegal.

IllegalAddException(Document base, DocType added, String reason)

This will create an Exception indicating that the addition of the DocType to the Document is illegal.

IllegalAddException(String reason)

This will create an Exception with the specified error message.

Constructor Detail

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.

Parameters: base Element that Attribute couldn't be added to added Attribute that could not be added reason 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.

Parameters: base Element that the child couldn't be added to added Element that could not be added reason 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.

Parameters: base Document that the Element couldn't be added to added Element that could not be added reason cause of the problem

IllegalAddException

public IllegalAddException(Element base, ProcessingInstruction added, String reason)

This will create an Exception indicating that the addition of the ProcessingInstruction to the Element is illegal.

Parameters: base Element that the ProcessingInstruction couldn't be added to added ProcessingInstruction that could not be added reason cause of the problem

IllegalAddException

public IllegalAddException(Document base, ProcessingInstruction added, String reason)

This will create an Exception indicating that the addition of the ProcessingInstruction to the Document is illegal.

Parameters: base Document that the ProcessingInstruction couldn't be added to added ProcessingInstruction that could not be added reason 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.

Parameters: base Element that the Comment couldn't be added to added Comment that could not be added reason 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

Parameters: base Element that the CDATA couldn't be added to added CDATA that could not be added reason 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.

Parameters: base Element that the Comment couldn't be added to added Text that could not be added 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.

Parameters: base Document that the Comment couldn't be added to added Comment that could not be added reason 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.

Parameters: base Element that the EntityRef couldn't be added to added EntityRef reference that could not be added reason 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.

Parameters: base Element that the Namespace couldn't be added to added Namespace that could not be added reason 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.

Parameters: base Document that the DocType couldn't be added to added DocType that could not be added reason cause of the problem

IllegalAddException

public IllegalAddException(String reason)

This will create an Exception with the specified error message.

Parameters: reason cause of the problem

Copyright B) 2002 Jason Hunter, Brett McLaughlin. All Rights Reserved.