Stay organized with collections
Save and categorize content based on your preferences.
NoSuchPropertyException
open class NoSuchPropertyException : RuntimeException
Thrown when code requests a Property
on a class that does not expose the appropriate method or field.
Summary
Public constructors
NoSuchPropertyException
NoSuchPropertyException(s: String!)
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# NoSuchPropertyException\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nNoSuchPropertyException\n=======================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/util/NoSuchPropertyException \"View this page in Java\") \n\n```\nopen class NoSuchPropertyException : RuntimeException\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| | | ↳ | [java.lang.RuntimeException](../../java/lang/RuntimeException.html#) ||\n| | | | ↳ | [android.util.NoSuchPropertyException](#) |\n\nThrown when code requests a [Property](/reference/kotlin/android/util/Property) on a class that does not expose the appropriate method or field.\n\nSummary\n-------\n\n| Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [NoSuchPropertyException](#NoSuchPropertyException(kotlin.String))`(`s:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### NoSuchPropertyException\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nNoSuchPropertyException(s: String!)\n```"]]