android-components / mozilla.components.lib.dataprotect / KeystoreException

KeystoreException

class KeystoreException : GeneralSecurityException (source)

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

Constructors

Name Summary
<init> KeystoreException(message: String? = null, cause: Throwable? = null)
Exception type thrown by {@link Keystore} when an error is encountered that is not otherwise covered by an existing sub-class to GeneralSecurityException.

Extension Functions

Name Summary
getStacktraceAsString fun Throwable.getStacktraceAsString(): String
Returns a formatted string of the Throwable.stackTrace.
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.
uniqueId fun Exception.uniqueId(): String
Returns a unique identifier for this Throwable