114 */ |
114 */ |
115 public static final short INUSE_ATTRIBUTE_ERR = 10; |
115 public static final short INUSE_ATTRIBUTE_ERR = 10; |
116 /** |
116 /** |
117 * If an attempt is made to use an object that is not, or is no longer, |
117 * If an attempt is made to use an object that is not, or is no longer, |
118 * usable. |
118 * usable. |
119 * @since DOM Level 2 |
119 * @since 1.4, DOM Level 2 |
120 */ |
120 */ |
121 public static final short INVALID_STATE_ERR = 11; |
121 public static final short INVALID_STATE_ERR = 11; |
122 /** |
122 /** |
123 * If an invalid or illegal string is specified. |
123 * If an invalid or illegal string is specified. |
124 * @since DOM Level 2 |
124 * @since 1.4, DOM Level 2 |
125 */ |
125 */ |
126 public static final short SYNTAX_ERR = 12; |
126 public static final short SYNTAX_ERR = 12; |
127 /** |
127 /** |
128 * If an attempt is made to modify the type of the underlying object. |
128 * If an attempt is made to modify the type of the underlying object. |
129 * @since DOM Level 2 |
129 * @since 1.4, DOM Level 2 |
130 */ |
130 */ |
131 public static final short INVALID_MODIFICATION_ERR = 13; |
131 public static final short INVALID_MODIFICATION_ERR = 13; |
132 /** |
132 /** |
133 * If an attempt is made to create or change an object in a way which is |
133 * If an attempt is made to create or change an object in a way which is |
134 * incorrect with regard to namespaces. |
134 * incorrect with regard to namespaces. |
135 * @since DOM Level 2 |
135 * @since 1.4, DOM Level 2 |
136 */ |
136 */ |
137 public static final short NAMESPACE_ERR = 14; |
137 public static final short NAMESPACE_ERR = 14; |
138 /** |
138 /** |
139 * If a parameter or an operation is not supported by the underlying |
139 * If a parameter or an operation is not supported by the underlying |
140 * object. |
140 * object. |
141 * @since DOM Level 2 |
141 * @since 1.4, DOM Level 2 |
142 */ |
142 */ |
143 public static final short INVALID_ACCESS_ERR = 15; |
143 public static final short INVALID_ACCESS_ERR = 15; |
144 /** |
144 /** |
145 * If a call to a method such as <code>insertBefore</code> or |
145 * If a call to a method such as <code>insertBefore</code> or |
146 * <code>removeChild</code> would make the <code>Node</code> invalid |
146 * <code>removeChild</code> would make the <code>Node</code> invalid |
147 * with respect to "partial validity", this exception would be raised |
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>] |
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. |
149 * . Refer to this specification for further information. |
150 * @since DOM Level 3 |
150 * @since 1.5, DOM Level 3 |
151 */ |
151 */ |
152 public static final short VALIDATION_ERR = 16; |
152 public static final short VALIDATION_ERR = 16; |
153 /** |
153 /** |
154 * If the type of an object is incompatible with the expected type of the |
154 * If the type of an object is incompatible with the expected type of the |
155 * parameter associated to the object. |
155 * parameter associated to the object. |
156 * @since DOM Level 3 |
156 * @since 1.5, DOM Level 3 |
157 */ |
157 */ |
158 public static final short TYPE_MISMATCH_ERR = 17; |
158 public static final short TYPE_MISMATCH_ERR = 17; |
159 |
159 |
160 // Added serialVersionUID to preserve binary compatibility |
160 // Added serialVersionUID to preserve binary compatibility |
161 static final long serialVersionUID = 6627732366795969916L; |
161 static final long serialVersionUID = 6627732366795969916L; |