Added in API level 30

AlreadyPersonalizedException

public class AlreadyPersonalizedException
extends IdentityCredentialException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ android.security.identity.IdentityCredentialException
         ↳ android.security.identity.AlreadyPersonalizedException


Thrown if trying to create a credential which already exists.

Summary

Public constructors

AlreadyPersonalizedException(String message)

Constructs a new AlreadyPersonalizedException exception.

AlreadyPersonalizedException(String message, Throwable cause)

Constructs a new AlreadyPersonalizedException exception.

Inherited methods

Public constructors

AlreadyPersonalizedException

Added in API level 30
public AlreadyPersonalizedException (String message)

Constructs a new AlreadyPersonalizedException exception.

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

AlreadyPersonalizedException

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

Constructs a new AlreadyPersonalizedException exception.

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

cause Throwable: the cause. This value cannot be null.