Added in API level 30
Deprecated in API level 10000

AlreadyPersonalizedException


public class AlreadyPersonalizedException
extends IdentityCredentialException

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


This class was deprecated in API level 10000.
Use java.security.KeyStore with the Android hardware-backed keystore instead.

Thrown if trying to create a credential which already exists.

Summary

Public constructors

AlreadyPersonalizedException(String message)

This constructor is deprecated. Use java.security.KeyStore with the Android hardware-backed keystore instead.

AlreadyPersonalizedException(String message, Throwable cause)

This constructor is deprecated. Use java.security.KeyStore with the Android hardware-backed keystore instead.

Inherited methods

Public constructors

AlreadyPersonalizedException

Added in API level 30
public AlreadyPersonalizedException (String message)

This constructor is deprecated.
Use java.security.KeyStore with the Android hardware-backed keystore instead.

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)

This constructor is deprecated.
Use java.security.KeyStore with the Android hardware-backed keystore instead.

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.