ClearCredentialStateException

public final class ClearCredentialStateException extends Exception


Exception encountered during the clear-credential operation.

Summary

Constants

static final @NonNull String
static final @NonNull String

The error type value for when the given operation failed due to an interrupted exception.

static final @NonNull String

The error type value for when the given operation failed due to a provider configuration.

static final @NonNull String

The error type value for when the given operation failed due to an unknown reason.

static final @NonNull String

The error type value for when the given operation failed due to credman not being supported.

Public constructors

Public methods

final @NonNull String

the type of the error

Constants

ERROR_TYPE_CUSTOM

public static final @NonNull String ERROR_TYPE_CUSTOM

ERROR_TYPE_INTERRUPTED

public static final @NonNull String ERROR_TYPE_INTERRUPTED

The error type value for when the given operation failed due to an interrupted exception.

ERROR_TYPE_PROVIDER_CONFIGURATION

public static final @NonNull String ERROR_TYPE_PROVIDER_CONFIGURATION

The error type value for when the given operation failed due to a provider configuration.

ERROR_TYPE_UNKNOWN

public static final @NonNull String ERROR_TYPE_UNKNOWN

The error type value for when the given operation failed due to an unknown reason.

ERROR_TYPE_UNSUPPORTED

public static final @NonNull String ERROR_TYPE_UNSUPPORTED

The error type value for when the given operation failed due to credman not being supported.

Public constructors

ClearCredentialStateException

public ClearCredentialStateException(@NonNull String type, String message)
Parameters
@NonNull String type

the type of the error

String message

the message of the error

Public methods

getType

public final @NonNull String getType()

the type of the error