Module jdk.xml.dom

Class XPathException

    • Field Detail

      • code

        public short code
      • INVALID_EXPRESSION_ERR

        public static final short INVALID_EXPRESSION_ERR
        If the expression has a syntax error or otherwise is not a legal expression according to the rules of the specific XPathEvaluator or contains specialized extension functions or variables not supported by this implementation.
        See Also:
        Constant Field Values
      • TYPE_ERR

        public static final short TYPE_ERR
        If the expression cannot be converted to return the specified type.
        See Also:
        Constant Field Values
    • Constructor Detail

      • XPathException

        public XPathException​(short code,
                              String message)