KeyChainException

open class KeyChainException : Exception
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ android.security.KeyChainException

Thrown on problems accessing the KeyChain.
Requires API level 14 (Android 4.0, IceCreamSandwich)

Summary

Public constructors

Constructs a new KeyChainException that includes the current stack trace.

<init>(detailMessage: String!)

Constructs a new KeyChainException with the current stack trace and the specified detail message.

<init>(message: String!, cause: Throwable!)

Constructs a new KeyChainException with the current stack trace, the specified detail message and the specified cause.

<init>(cause: Throwable!)

Constructs a new KeyChainException with the current stack trace and the specified cause.

Public constructors

<init>

KeyChainException()

Constructs a new KeyChainException that includes the current stack trace.

<init>

KeyChainException(detailMessage: String!)

Constructs a new KeyChainException with the current stack trace and the specified detail message.

Parameters
detailMessage String!: the detail message for this exception.

<init>

KeyChainException(message: String!, cause: Throwable!)

Constructs a new KeyChainException with the current stack trace, the specified detail message and the specified cause.

Parameters
message String!: the detail message for this exception.
cause String!: the cause of this exception, may be null.

<init>

KeyChainException(cause: Throwable!)

Constructs a new KeyChainException with the current stack trace and the specified cause.

Parameters
cause Throwable!: the cause of this exception, may be null.