Added in API level 30

DocTypeNotSupportedException


public class DocTypeNotSupportedException
extends IdentityCredentialException

java.lang.Object
   ↳ java.lang.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

DocTypeNotSupportedException(String message)

Constructs a new DocTypeNotSupportedException exception.

DocTypeNotSupportedException(String message, Throwable cause)

Constructs a new DocTypeNotSupportedException exception.

Inherited methods

Public constructors

DocTypeNotSupportedException

Added in API level 30
public DocTypeNotSupportedException (String message)

Constructs a new DocTypeNotSupportedException exception.

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

DocTypeNotSupportedException

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

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.