org.w3c.dom.xpath

Class XPathException

Implemented Interfaces:
Serializable

public class XPathException
extends RuntimeException

A new exception has been created for exceptions specific to these XPath interfaces.

See also the Document Object Model (DOM) Level 3 XPath Specification.

See Also:
Serialized Form

Field Summary

static 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.
static short
TYPE_ERR
If the expression cannot be converted to return the specified type.
short
code

Constructor Summary

XPathException(short code, String message)

Method Summary

Methods inherited from class java.lang.Throwable

fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

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.
Field Value:
51

TYPE_ERR

public static final short TYPE_ERR
If the expression cannot be converted to return the specified type.
Field Value:
52

code

public short code

Constructor Details

XPathException

public XPathException(short code,
                      String message)

* Copyright (c) 2004 World Wide Web Consortium, * * (Massachusetts Institute of Technology, European Research Consortium for * Informatics and Mathematics, Keio University). All Rights Reserved. This * work is distributed under the W3C(r) Software License [1] in the hope that * it will be useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231