ImportCredentialsException

public final class ImportCredentialsException extends Exception


Exception encountered during the import-credentials operation.

Summary

Constants

static final @NonNull String

Unable to retrieve any credentilas from the user.

static final @NonNull String

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

static final @NonNull String

The user has cancelled the operation.

Public constructors

Public methods

final @NonNull String

the type of the error

Constants

ERROR_TYPE_NO_CREDENTIALS

public static final @NonNull String ERROR_TYPE_NO_CREDENTIALS

Unable to retrieve any credentilas from the user.

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_USER_CANCELED

public static final @NonNull String ERROR_TYPE_USER_CANCELED

The user has cancelled the operation.

Public constructors

ImportCredentialsException

public ImportCredentialsException(@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