ClearCredentialRegistryException


public abstract class ClearCredentialRegistryException extends Exception

Known direct subclasses
ClearCredentialRegistryConfigurationException

During the RegistryManager.clearCredentialRegistry transaction, this is thrown when configurations are mismatched for the RegistryManager service, typically indicating the service provider dependency is missing in the manifest or some system service is not enabled.

ClearCredentialRegistryUnknownException

Thrown when the RegistryManager.clearCredentialRegistry transaction fails with no more detailed information.


Represents an error thrown during a RegistryManager.clearCredentialRegistry transaction.

Summary

Public constructors

ClearCredentialRegistryException(
    @NonNull String type,
    CharSequence errorMessage
)

Public methods

final CharSequence

the error message

final @NonNull String

the type of the error

Public constructors

ClearCredentialRegistryException

Added in 1.0.0-alpha02
public ClearCredentialRegistryException(
    @NonNull String type,
    CharSequence errorMessage
)

Public methods

getErrorMessage

Added in 1.0.0-alpha02
public final CharSequence getErrorMessage()

the error message

getType

Added in 1.0.0-alpha02
public final @NonNull String getType()

the type of the error