[android-components](../../index.md) / [mozilla.components.lib.dataprotect](../index.md) / [KeystoreException](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`KeystoreException(message: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, cause: `[`Throwable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`? = null)`

Exception type thrown by {@link Keystore} when an error is encountered that
is not otherwise covered by an existing sub-class to `GeneralSecurityException`.

