Added in API level 30

DocTypeNotSupportedException


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

Thrown if trying to create a credential with an unsupported document type.

Summary

Public constructors

Constructs a new DocTypeNotSupportedException exception.

Constructs a new DocTypeNotSupportedException exception.

Public constructors

DocTypeNotSupportedException

Added in API level 30
DocTypeNotSupportedException(message: String)

Constructs a new DocTypeNotSupportedException exception.

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

DocTypeNotSupportedException

Added in API level 30
DocTypeNotSupportedException(
    message: String,
    cause: Throwable)

Constructs a new DocTypeNotSupportedException exception.

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