99 */
100 public static final short NO_MODIFICATION_ALLOWED_ERR = 7;
101 /**
102 * If an attempt is made to reference a <code>Node</code> in a context
103 * where it does not exist.
104 */
105 public static final short NOT_FOUND_ERR = 8;
106 /**
107 * If the implementation does not support the requested type of object or
108 * operation.
109 */
110 public static final short NOT_SUPPORTED_ERR = 9;
111 /**
112 * If an attempt is made to add an attribute that is already in use
113 * elsewhere.
114 */
115 public static final short INUSE_ATTRIBUTE_ERR = 10;
116 /**
117 * If an attempt is made to use an object that is not, or is no longer,
118 * usable.
119 * @since DOM Level 2
120 */
121 public static final short INVALID_STATE_ERR = 11;
122 /**
123 * If an invalid or illegal string is specified.
124 * @since DOM Level 2
125 */
126 public static final short SYNTAX_ERR = 12;
127 /**
128 * If an attempt is made to modify the type of the underlying object.
129 * @since DOM Level 2
130 */
131 public static final short INVALID_MODIFICATION_ERR = 13;
132 /**
133 * If an attempt is made to create or change an object in a way which is
134 * incorrect with regard to namespaces.
135 * @since DOM Level 2
136 */
137 public static final short NAMESPACE_ERR = 14;
138 /**
139 * If a parameter or an operation is not supported by the underlying
140 * object.
141 * @since DOM Level 2
142 */
143 public static final short INVALID_ACCESS_ERR = 15;
144 /**
145 * If a call to a method such as <code>insertBefore</code> or
146 * <code>removeChild</code> would make the <code>Node</code> invalid
147 * with respect to "partial validity", this exception would be raised
148 * and the operation would not be done. This code is used in [<a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Val-20040127/'>DOM Level 3 Validation</a>]
149 * . Refer to this specification for further information.
150 * @since DOM Level 3
151 */
152 public static final short VALIDATION_ERR = 16;
153 /**
154 * If the type of an object is incompatible with the expected type of the
155 * parameter associated to the object.
156 * @since DOM Level 3
157 */
158 public static final short TYPE_MISMATCH_ERR = 17;
159
160 // Added serialVersionUID to preserve binary compatibility
161 static final long serialVersionUID = 6627732366795969916L;
162 }
|
99 */
100 public static final short NO_MODIFICATION_ALLOWED_ERR = 7;
101 /**
102 * If an attempt is made to reference a <code>Node</code> in a context
103 * where it does not exist.
104 */
105 public static final short NOT_FOUND_ERR = 8;
106 /**
107 * If the implementation does not support the requested type of object or
108 * operation.
109 */
110 public static final short NOT_SUPPORTED_ERR = 9;
111 /**
112 * If an attempt is made to add an attribute that is already in use
113 * elsewhere.
114 */
115 public static final short INUSE_ATTRIBUTE_ERR = 10;
116 /**
117 * If an attempt is made to use an object that is not, or is no longer,
118 * usable.
119 * @since 1.4, DOM Level 2
120 */
121 public static final short INVALID_STATE_ERR = 11;
122 /**
123 * If an invalid or illegal string is specified.
124 * @since 1.4, DOM Level 2
125 */
126 public static final short SYNTAX_ERR = 12;
127 /**
128 * If an attempt is made to modify the type of the underlying object.
129 * @since 1.4, DOM Level 2
130 */
131 public static final short INVALID_MODIFICATION_ERR = 13;
132 /**
133 * If an attempt is made to create or change an object in a way which is
134 * incorrect with regard to namespaces.
135 * @since 1.4, DOM Level 2
136 */
137 public static final short NAMESPACE_ERR = 14;
138 /**
139 * If a parameter or an operation is not supported by the underlying
140 * object.
141 * @since 1.4, DOM Level 2
142 */
143 public static final short INVALID_ACCESS_ERR = 15;
144 /**
145 * If a call to a method such as <code>insertBefore</code> or
146 * <code>removeChild</code> would make the <code>Node</code> invalid
147 * with respect to "partial validity", this exception would be raised
148 * and the operation would not be done. This code is used in [<a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Val-20040127/'>DOM Level 3 Validation</a>]
149 * . Refer to this specification for further information.
150 * @since 1.5, DOM Level 3
151 */
152 public static final short VALIDATION_ERR = 16;
153 /**
154 * If the type of an object is incompatible with the expected type of the
155 * parameter associated to the object.
156 * @since 1.5, DOM Level 3
157 */
158 public static final short TYPE_MISMATCH_ERR = 17;
159
160 // Added serialVersionUID to preserve binary compatibility
161 static final long serialVersionUID = 6627732366795969916L;
162 }
|