You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/07/15 20:27:39 UTC
cvs commit: xml-xerces/c/src/xercesc/dom DOMException.hpp
tng 2002/07/15 11:27:38
Modified: c/src/xercesc/dom DOMException.hpp
Log:
DOM L3: Add DOMException::VALIDATION_ERR
Revision Changes Path
1.4 +12 -2 xml-xerces/c/src/xercesc/dom/DOMException.hpp
Index: DOMException.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMException.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DOMException.hpp 6 Jun 2002 20:53:06 -0000 1.3
+++ DOMException.hpp 15 Jul 2002 18:27:38 -0000 1.4
@@ -194,6 +194,15 @@
*
* The above are since DOM Level 2
* @since DOM Level 2
+ *
+ * <p><code>VALIDATION_ERR:</code>
+ * If a call to a method such as <code>insertBefore</code> or
+ * <code>removeChild</code> would make the <code>Node</code> invalid
+ * with respect to "partial validity", this exception would be raised
+ * and the operation would not be done.
+ *
+ * The above is since DOM Level 2
+ * @since DOM Level 3
*/
enum ExceptionCode {
INDEX_SIZE_ERR = 1,
@@ -210,7 +219,8 @@
SYNTAX_ERR = 12,
INVALID_MODIFICATION_ERR = 13,
NAMESPACE_ERR = 14,
- INVALID_ACCESS_ERR = 15
+ INVALID_ACCESS_ERR = 15,
+ VALIDATION_ERR = 16
};
//@}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org