Stay organized with collections
Save and categorize content based on your preferences.
XPathFunctionException
open class XPathFunctionException : XPathExpressionException
XPathFunctionException
represents an error with an XPath function.
Summary
Public constructors |
Constructs a new XPathFunctionException with the specified detail message .
|
Constructs a new XPathFunctionException with the specified cause .
|
Public constructors
XPathFunctionException
XPathFunctionException(message: String!)
Constructs a new XPathFunctionException
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. |
XPathFunctionException
XPathFunctionException(cause: Throwable!)
Constructs a new XPathFunctionException
with the specified cause
.
If cause
is null
, then a NullPointerException
is thrown.
Exceptions |
java.lang.NullPointerException |
if cause is null . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# XPathFunctionException\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nXPathFunctionException\n======================\n\n```\nopen class XPathFunctionException : XPathExpressionException\n```\n\n|---|---|---|---|---|---------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) |||||\n| | ↳ | [java.lang.Exception](../../../java/lang/Exception.html#) ||||\n| | | ↳ | [javax.xml.xpath.XPathException](/reference/kotlin/javax/xml/xpath/XPathException) |||\n| | | | ↳ | [javax.xml.xpath.XPathExpressionException](/reference/kotlin/javax/xml/xpath/XPathExpressionException) ||\n| | | | | ↳ | [javax.xml.xpath.XPathFunctionException](#) |\n\n`XPathFunctionException` represents an error with an XPath function.\n\n\u003cbr /\u003e\n\nSummary\n-------\n\n| Public constructors ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [XPathFunctionException](#XPathFunctionException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs a new `XPathFunctionException` with the specified detail `message`. |\n| [XPathFunctionException](#XPathFunctionException(kotlin.Throwable))`(`cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` Constructs a new `XPathFunctionException` with the specified `cause`. |\n\nPublic constructors\n-------------------\n\n### XPathFunctionException\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nXPathFunctionException(message: String!)\n```\n\nConstructs a new `XPathFunctionException` with the specified detail `message`.\n\nThe `cause` is not initialized.\n\nIf `message` is `null`, then a `NullPointerException` is thrown.\n\n| Parameters ||\n|-----------|--------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The detail message. |\n\n### XPathFunctionException\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nXPathFunctionException(cause: Throwable!)\n```\n\nConstructs a new `XPathFunctionException` with the specified `cause`.\n\nIf `cause` is `null`, then a `NullPointerException` is thrown.\n\n| Parameters ||\n|---------|-----------------------------------------------------------------------------------------------------|\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!: The cause. |\n\n| Exceptions ||\n|----------------------------------|-----------------------|\n| `java.lang.NullPointerException` | if `cause` is `null`. |"]]