Join us for ⁠#Android11: The Beta Launch Show on June 3!
Added in API level R

MessageDecryptionException

open class MessageDecryptionException : IdentityCredentialException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ android.security.identity.IdentityCredentialException
   ↳ android.security.identity.MessageDecryptionException

Thrown when failing to decrypt a message from the reader device.

Summary

Public constructors

<init>(message: String)

Constructs a new MessageDecryptionException exception.

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

Constructs a new MessageDecryptionException exception.

Public constructors

<init>

Added in API level R
MessageDecryptionException(message: String)

Constructs a new MessageDecryptionException exception.

Parameters
message String: the detail message. This value cannot be null.

<init>

Added in API level R
MessageDecryptionException(
    message: String,
    cause: Throwable)

Constructs a new MessageDecryptionException exception.

Parameters
message String: the detail message. This value cannot be null.
cause Throwable: the cause. This value cannot be null.