Serializable
XPathFunctionException
public class XPathExpressionException extends XPathException
XPathExpressionException
represents an error in an XPath expression.Constructor | Description |
---|---|
XPathExpressionException |
Constructs a new XPathExpressionException with the specified detail message . |
XPathExpressionException |
Constructs a new XPathExpressionException with the specified cause . |
getCause, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public XPathExpressionException(String message)
XPathExpressionException
with the specified detail message
. The cause
is not initialized.
If message
is null
, then a NullPointerException
is thrown.
message
- The detail message.NullPointerException
- When message
is null
.public XPathExpressionException(Throwable cause)
XPathExpressionException
with the specified cause
. If cause
is null
, then a NullPointerException
is thrown.
cause
- The cause.NullPointerException
- if cause
is null
.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.xml/javax/xml/xpath/XPathExpressionException.html