Stay organized with collections
Save and categorize content based on your preferences.
NoSuchFieldException
open class NoSuchFieldException : ReflectiveOperationException
Signals that the class doesn't have a field of a specified name.
Summary
Public constructors |
Constructor.
|
Constructor with a detail message.
|
Public constructors
NoSuchFieldException
NoSuchFieldException()
Constructor.
NoSuchFieldException
NoSuchFieldException(s: String!)
Constructor with a detail message.
Parameters |
s |
String!: the detail message |
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,["# NoSuchFieldException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nNoSuchFieldException\n====================\n\n```\nopen class NoSuchFieldException : ReflectiveOperationException\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](/reference/kotlin/java/lang/Exception) |||\n| | | โณ | [java.lang.ReflectiveOperationException](/reference/kotlin/java/lang/ReflectiveOperationException) ||\n| | | | โณ | [java.lang.NoSuchFieldException](#) |\n\nSignals that the class doesn't have a field of a specified name.\n\nSummary\n-------\n\n| Public constructors ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [NoSuchFieldException](#NoSuchFieldException())`()` Constructor. |\n| [NoSuchFieldException](#NoSuchFieldException(kotlin.String))`(`s:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructor with a detail message. |\n\nPublic constructors\n-------------------\n\n### NoSuchFieldException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nNoSuchFieldException()\n```\n\nConstructor. \n\n### NoSuchFieldException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nNoSuchFieldException(s: String!)\n```\n\nConstructor with a detail message.\n\n| Parameters ||\n|-----|-------------------------------------------------------------------------------------------------------|\n| `s` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message |"]]