# androidx.credentials.providerevents.exception

# androidx.credentials.providerevents.exception

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/credentials/providerevents/exception/package-summary "View this page in Java")

## Exceptions

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ExportCredentialsException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ExportCredentialsException)                                                           | Represents an error thrown during an export flow.                                                                                                                                                                                    |
| [ExportCredentialsInvalidJsonException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ExportCredentialsInvalidJsonException)                                     | The credential json cannot be read because it is written in invalid format                                                                                                                                                           |
| [ExportCredentialsSystemErrorException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ExportCredentialsSystemErrorException)                                     | Used by the system when the request fails to reach the provider                                                                                                                                                                      |
| [ExportCredentialsUnknownCallerException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ExportCredentialsUnknownCallerException)                                 | The credential json cannot be trusted because the caller is unknown                                                                                                                                                                  |
| [ExportCredentialsUnknownErrorException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ExportCredentialsUnknownErrorException)                                   | The credential json cannot be stored due to unknown error                                                                                                                                                                            |
| [GetCredentialTransferCapabilitiesException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/GetCredentialTransferCapabilitiesException)                           | Represents an error thrown when the provider is requested to return the transfer capabilities.                                                                                                                                       |
| [GetCredentialTransferCapabilitiesInvalidJsonException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/GetCredentialTransferCapabilitiesInvalidJsonException)     | The request json cannot be read because it is written in invalid format                                                                                                                                                              |
| [GetCredentialTransferCapabilitiesSystemErrorException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/GetCredentialTransferCapabilitiesSystemErrorException)     | Used by the system when the request fails to reach the provider                                                                                                                                                                      |
| [GetCredentialTransferCapabilitiesUnknownCallerException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/GetCredentialTransferCapabilitiesUnknownCallerException) | The credential json cannot be trusted because the caller is unknown                                                                                                                                                                  |
| [GetCredentialTransferCapabilitiesUnknownErrorException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/GetCredentialTransferCapabilitiesUnknownErrorException)   | The request cannot be processed due to unknown error                                                                                                                                                                                 |
| [ImportCredentialsCancellationException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsCancellationException)                                   | During the import credentials flow, this is thrown when a user intentionally cancels an operation.                                                                                                                                   |
| [ImportCredentialsException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsException)                                                           | Represents an error thrown during the import flow.                                                                                                                                                                                   |
| [ImportCredentialsInvalidJsonException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsInvalidJsonException)                                     | The request json cannot be read because it is written in invalid format                                                                                                                                                              |
| [ImportCredentialsNoExportOptionException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsNoExportOptionException)                               | During the import credentials flow, this is thrown if there is no credential provider matched to handle the import request.                                                                                                          |
| [ImportCredentialsProviderConfigurationException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsProviderConfigurationException)                 | During the import credentials flow, this is thrown if a[ProviderEventsApiProvider](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/ProviderEventsApiProvider)was not found to handle the request. |
| [ImportCredentialsSystemErrorException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsSystemErrorException)                                     | Used by the system when the request fails to reach the provider                                                                                                                                                                      |
| [ImportCredentialsUnknownCallerException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsUnknownCallerException)                                 | The request cannot be trusted because the caller is unknown                                                                                                                                                                          |
| [ImportCredentialsUnknownErrorException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsUnknownErrorException)                                   | The credential json cannot be returned due to unknown error                                                                                                                                                                          |
| [RegisterExportException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/RegisterExportException)                                                                 | Represents an error thrown during the export registration                                                                                                                                                                            |
| [RegisterExportProviderConfigurationException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/RegisterExportProviderConfigurationException)                       | During the register export flow, this is thrown if the provider dependency is missing in the manifest                                                                                                                                |
| [RegisterExportUnknownErrorException](https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/exception/RegisterExportUnknownErrorException)                                         | The provider cannot be registered for export for unknown reasons                                                                                                                                                                     |