< prev index next >

src/jdk.xml.dom/share/classes/org/w3c/dom/xpath/XPathException.java

Print this page

        

@@ -42,11 +42,18 @@
 package org.w3c.dom.xpath;
 
 /**
  * A new exception has been created for exceptions specific to these XPath
  * interfaces.
- * <p>See also the <a href='http://www.w3.org/2002/08/WD-DOM-Level-3-XPath-20020820'>Document Object Model (DOM) Level 3 XPath Specification</a>.
+ *
+ * See also <a href='https://www.w3.org/TR/DOM-Level-3-XPath/'>
+ * Document Object Model (DOM) Level 3 XPath Specification, Version 1.0,
+ * W3C Working Group Note 26 February 2004</a>
+ * Note that this class came from Document Object Model (DOM) Level 3 XPath
+ * Specification, Working Draft 20 August 2002 where the values of
+ * {@link #INVALID_EXPRESSION_ERR} and {@link #TYPE_ERR}
+ * are 1 and 2 respectively (instead of 51 and 52 as in the 2004 version).
  */
 public class XPathException extends RuntimeException {
     private static final long serialVersionUID = 3471034171575979943L;
 
     public XPathException(short code, String message) {
< prev index next >