]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libjava/org/w3c/dom/ranges/RangeException.java
Imported gcc-4.4.3
[msp430-gcc.git] / libjava / org / w3c / dom / ranges / RangeException.java
diff --git a/libjava/org/w3c/dom/ranges/RangeException.java b/libjava/org/w3c/dom/ranges/RangeException.java
deleted file mode 100644 (file)
index abf9a9f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*\r
- * Copyright (c) 2000 World Wide Web Consortium,\r
- * (Massachusetts Institute of Technology, Institut National de\r
- * Recherche en Informatique et en Automatique, Keio University). All\r
- * Rights Reserved. This program is distributed under the W3C's Software\r
- * Intellectual Property License. This program is distributed in the\r
- * hope that it will be useful, but WITHOUT ANY WARRANTY; without even\r
- * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\r
- * PURPOSE.\r
- * See W3C License http://www.w3.org/Consortium/Legal/ for more details.\r
- */\r
-\r
-package org.w3c.dom.ranges;\r
-\r
-/**\r
- * Range operations may throw a <code>RangeException</code> as specified in \r
- * their method descriptions.\r
- * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.\r
- * @since DOM Level 2\r
- */\r
-public class RangeException extends RuntimeException {\r
-    public RangeException(short code, String message) {\r
-       super(message);\r
-       this.code = code;\r
-    }\r
-    public short   code;\r
-    // RangeExceptionCode\r
-    /**\r
-     * If the boundary-points of a Range do not meet specific requirements.\r
-     */\r
-    public static final short BAD_BOUNDARYPOINTS_ERR    = 1;\r
-    /**\r
-     * If the container of an boundary-point of a Range is being set to either \r
-     * a node of an invalid type or a node with an ancestor of an invalid \r
-     * type.\r
-     */\r
-    public static final short INVALID_NODE_TYPE_ERR     = 2;\r
-\r
-}\r