Added in API level 8

XPathExpressionException

open class XPathExpressionException : XPathException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ javax.xml.xpath.XPathException
   ↳ javax.xml.xpath.XPathExpressionException

XPathExpressionException represents an error in an XPath expression.

Summary

Public constructors

Constructs a new XPathExpressionException with the specified detail message.

Constructs a new XPathExpressionException with the specified cause.

Inherited functions
Inherited properties

Public constructors

XPathExpressionException

Added in API level 8
XPathExpressionException(message: String!)

Constructs a new XPathExpressionException with the specified detail message.

The cause is not initialized.

If message is null, then a NullPointerException is thrown.

Parameters
message String!: The detail message.

XPathExpressionException

Added in API level 8
XPathExpressionException(cause: Throwable!)

Constructs a new XPathExpressionException with the specified cause.

If cause is null, then a NullPointerException is thrown.

Parameters
cause Throwable!: The cause.
Exceptions
java.lang.NullPointerException if cause is null.