Stay organized with collections
Save and categorize content based on your preferences.
UnrecoverableKeyException
open class UnrecoverableKeyException : UnrecoverableEntryException
This exception is thrown if a key in the keystore cannot be recovered.
Summary
Public constructors |
Constructs an UnrecoverableKeyException with no detail message.
|
Constructs an UnrecoverableKeyException with the specified detail message, which provides more information about why this exception has been thrown.
|
Public constructors
UnrecoverableKeyException
UnrecoverableKeyException()
Constructs an UnrecoverableKeyException with no detail message.
UnrecoverableKeyException
UnrecoverableKeyException(msg: String!)
Constructs an UnrecoverableKeyException with the specified detail message, which provides more information about why this exception has been thrown.
Parameters |
msg |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# UnrecoverableKeyException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nUnrecoverableKeyException\n=========================\n\n```\nopen class UnrecoverableKeyException : UnrecoverableEntryException\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](../lang/Exception.html#) ||||\n| | | ↳ | [java.security.GeneralSecurityException](/reference/kotlin/java/security/GeneralSecurityException) |||\n| | | | ↳ | [java.security.UnrecoverableEntryException](/reference/kotlin/java/security/UnrecoverableEntryException) ||\n| | | | | ↳ | [java.security.UnrecoverableKeyException](#) |\n\nThis exception is thrown if a key in the keystore cannot be recovered.\n\nSummary\n-------\n\n| Public constructors ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [UnrecoverableKeyException](#UnrecoverableKeyException())`()` Constructs an UnrecoverableKeyException with no detail message. |\n| [UnrecoverableKeyException](#UnrecoverableKeyException(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an UnrecoverableKeyException with the specified detail message, which provides more information about why this exception has been thrown. |\n\nPublic constructors\n-------------------\n\n### UnrecoverableKeyException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnrecoverableKeyException()\n```\n\nConstructs an UnrecoverableKeyException with no detail message. \n\n### UnrecoverableKeyException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnrecoverableKeyException(msg: String!)\n```\n\nConstructs an UnrecoverableKeyException with the specified detail message, which provides more information about why this exception has been thrown.\n\n| Parameters ||\n|-------|--------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message. |"]]