# NoSuchPropertyException

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# NoSuchPropertyException

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/util/NoSuchPropertyException "View this page in Java")  

```
open class NoSuchPropertyException : RuntimeException
```

|---|---|---|---|------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                        |||||
| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)                                         ||||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/kotlin/java/lang/Exception.html#)                                    |||
|   |   | ↳ | [java.lang.RuntimeException](https://developer.android.com/reference/kotlin/java/lang/RuntimeException.html#)                   ||
|   |   |   | ↳ | [android.util.NoSuchPropertyException](https://developer.android.com/reference/kotlin/android/util/NoSuchPropertyException#) |

Thrown when code requests a[Property](https://developer.android.com/reference/kotlin/android/util/Property)on a class that does not expose the appropriate method or field.

## Summary

|                                                                                                                     Public constructors                                                                                                                     ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [NoSuchPropertyException](https://developer.android.com/reference/kotlin/android/util/NoSuchPropertyException#NoSuchPropertyException(kotlin.String))`(`s:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` <br /> |

## Public constructors

### NoSuchPropertyException

Added in[API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
NoSuchPropertyException(s: String!)
```