Main Page   Packages   Namespace List   Class Hierarchy   Compound List   Compound Members  

IllegalAddException Class Reference

List of all members.

Public Methods

 IllegalAddException (Element base, Attribute added, String reason)
 IllegalAddException (Element base, Element added, String reason)
 IllegalAddException (Document base, Element added, String reason)
 IllegalAddException (Element base, ProcessingInstruction added, String reason)
 IllegalAddException (Document base, ProcessingInstruction added, String reason)
 IllegalAddException (Element base, Comment added, String reason)
 IllegalAddException (Element base, CDATA added, String reason)
 IllegalAddException (Element base, Text added, String reason)
 IllegalAddException (Document base, Comment added, String reason)
 IllegalAddException (Element base, EntityRef added, String reason)
 IllegalAddException (Element base, Namespace added, String reason)
 IllegalAddException (Document base, DocType added, String reason)
 IllegalAddException (String reason)

Detailed Description

IllegalAddException is thrown when an Element or Attribute is added to a JDOM construct illegally..

Author:
Brett McLaughlin
Version:
Revision:
1.16
,
Date:
2002/02/08 05:40:56


Constructor & Destructor Documentation

IllegalAddException::IllegalAddException Element    base,
Attribute    added,
String    reason
[inline]
 

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

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

IllegalAddException::IllegalAddException Element    base,
Element    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the Element supplied as a child of the supplied parent is not allowed.

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

IllegalAddException::IllegalAddException Document    base,
Element    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the Element supplied as a child of the document is not allowed.

IllegalAddException::IllegalAddException Element    base,
ProcessingInstruction    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the ProcessingInstruction supplied as content to the supplied element is not allowed.

Parameters:
base  element that the PI couldn't be added to
added  PI that could not be added
reason  cause for the problem

IllegalAddException::IllegalAddException Document    base,
ProcessingInstruction    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the ProcessingInstruction supplied as content to the supplied document is not allowed.

Parameters:
base  document that the PI couldn't be added to
added  PI that could not be added
reason  cause for the problem

IllegalAddException::IllegalAddException Element    base,
Comment    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the Comment supplied as content to the supplied element is not allowed.

Parameters:
base  element that the comment couldn't be added to
added  comment that could not be added
reason  cause for the problem

IllegalAddException::IllegalAddException Element    base,
CDATA    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the CDATA supplied as content to the supplied element is not allowed.

Parameters:
base  element that the comment couldn't be added to
added  CDATA that could not be added
reason  cause for the problem

IllegalAddException::IllegalAddException Element    base,
Text    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the Text supplied as content to the supplied element is not allowed.

Parameters:
base  element that the comment couldn't be added to
added  Text that could not be added
reason  cause for the problem

IllegalAddException::IllegalAddException Document    base,
Comment    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the Comment supplied as content to the supplied document is not allowed.

Parameters:
base  document that the PI couldn't be added to
added  PI that could not be added
reason  cause for the problem

IllegalAddException::IllegalAddException Element    base,
EntityRef    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the EntityRef supplied as content to the supplied element is not allowed.

Parameters:
base  element that the entity couldn't be added to
added  entity reference that could not be added
reason  cause for the problem

IllegalAddException::IllegalAddException Element    base,
Namespace    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the Namespace to the supplied element is not allowed.

Parameters:
base  element that the entity couldn't be added to
added  namespace that could not be added
reason  cause for the problem

IllegalAddException::IllegalAddException Document    base,
DocType    added,
String    reason
[inline]
 

This will create an Exception indicating that the addition of the DocType to the supplied document is not allowed.

Parameters:
base  document that the entity couldn't be added to
added  doctype that could not be added
reason  cause for the problem

IllegalAddException::IllegalAddException String    reason [inline]
 

This will create an Exception with the specified error message.


The documentation for this class was generated from the following file:
Generated on Sat Mar 30 18:53:03 2002 for JDOM by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001