Stay organized with collections
Save and categorize content based on your preferences.
UnavailableException
open class UnavailableException : AndroidRuntimeException
Thrown by KeyCharacterMap.load
when a key character map could not be loaded.
Summary
Public constructors
UnavailableException
UnavailableException(msg: 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,["# KeyCharacterMap.UnavailableException\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nUnavailableException\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/view/KeyCharacterMap.UnavailableException \"View this page in Java\") \n\n```\nopen class UnavailableException : AndroidRuntimeException\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.AndroidRuntimeException](../util/AndroidRuntimeException.html#) ||\n| | | | | ↳ | [android.view.KeyCharacterMap.UnavailableException](#) |\n\nThrown by [KeyCharacterMap.load](/reference/kotlin/android/view/KeyCharacterMap#load(kotlin.Int)) when a key character map could not be loaded.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [UnavailableException](#UnavailableException(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### UnavailableException\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnavailableException(msg: String!)\n```"]]