Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
KeyStoreException
public
class
KeyStoreException
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.util.keystore.KeyStoreException
|
Thrown when a fatal key store error happens.
Summary
Public constructors
KeyStoreException
public KeyStoreException (String msg)
Creates a KeyStoreException
.
Parameters |
msg |
String : a descriptive message. |
KeyStoreException
public KeyStoreException (String msg,
Throwable cause)
Creates a KeyStoreException
.
Parameters |
msg |
String : a descriptive message. |
cause |
Throwable : the root Throwable that caused the device to become
unavailable. |
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 2023-07-19 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 2023-07-19 UTC."],[],[],null,["# KeyStoreException\n=================\n\n\n`\npublic\n\n\nclass\nKeyStoreException\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.util.keystore.KeyStoreException |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThrown when a fatal key store error happens.\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[KeyStoreException](../../../../../../../reference/tradefed/com/android/tradefed/util/keystore/KeyStoreException.html#KeyStoreException())`() ` Creates a [KeyStoreException](../../../../../../../reference/tradefed/com/android/tradefed/util/keystore/KeyStoreException.html). |\n| ` `[KeyStoreException](../../../../../../../reference/tradefed/com/android/tradefed/util/keystore/KeyStoreException.html#KeyStoreException(java.lang.String))`(String msg) ` Creates a [KeyStoreException](../../../../../../../reference/tradefed/com/android/tradefed/util/keystore/KeyStoreException.html). |\n| ` `[KeyStoreException](../../../../../../../reference/tradefed/com/android/tradefed/util/keystore/KeyStoreException.html#KeyStoreException(java.lang.String,%20java.lang.Throwable))`(String msg, Throwable cause) ` Creates a [KeyStoreException](../../../../../../../reference/tradefed/com/android/tradefed/util/keystore/KeyStoreException.html). |\n\nPublic constructors\n-------------------\n\n### KeyStoreException\n\n```\npublic KeyStoreException ()\n```\n\nCreates a [KeyStoreException](../../../../../../../reference/tradefed/com/android/tradefed/util/keystore/KeyStoreException.html).\n\n\u003cbr /\u003e\n\n### KeyStoreException\n\n```\npublic KeyStoreException (String msg)\n```\n\nCreates a [KeyStoreException](../../../../../../../reference/tradefed/com/android/tradefed/util/keystore/KeyStoreException.html).\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------|-----------------------------------------|\n| `msg` | `String`: a descriptive message. \u003cbr /\u003e |\n\n### KeyStoreException\n\n```\npublic KeyStoreException (String msg, \n Throwable cause)\n```\n\nCreates a [KeyStoreException](../../../../../../../reference/tradefed/com/android/tradefed/util/keystore/KeyStoreException.html).\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `msg` | `String`: a descriptive message. \u003cbr /\u003e |\n| `cause` | `Throwable`: the root [Throwable](../../../../../../../reference/tradefed/java/lang/Throwable.html) that caused the device to become unavailable. \u003cbr /\u003e |"]]