GetCredentialException


public abstract class GetCredentialException extends Exception

Known direct subclasses
GetCredentialCancellationException

During the get credential flow, this is thrown when a user intentionally cancels an operation.

GetCredentialCustomException

Represents a custom error thrown during a get flow with CredentialManager.

GetCredentialInterruptedException

During the get credential flow, this is thrown when some interruption occurs that may warrant retrying or at least does not indicate a purposeful desire to close or tap away from credential manager.

GetCredentialProviderConfigurationException

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

GetCredentialUnknownException

This is thrown when the get credential operation failed with no more detailed information.

GetCredentialUnsupportedException

During the get credential flow, this is thrown when credential manager is unsupported, typically because the device has disabled it or did not ship with this feature enabled.

GetPublicKeyCredentialException

A subclass of CreateCredentialException for unique exceptions thrown specific only to PublicKeyCredentials.

NoCredentialException

During the get credential flow, this is returned when no viable credential is available for the the user.

Known indirect subclasses
GetPublicKeyCredentialDomException

During the get-passkey flow, this is thrown when a DOM Exception is thrown, indicating the operation contains a DOMException error type.


Represents an error thrown during a get flow with Credential Manager. See CredentialManager for more details on how Exceptions work for Credential Manager flows.

Summary