# ClearCredentialRegistryUnknownException

Artifact: [androidx.credentials.registry:registry-provider](https://developer.android.com/jetpack/androidx/releases/credentials-registry) [View Source](https://cs.android.com/search?q=file:androidx/credentials/registry/provider/ClearCredentialRegistryUnknownException.kt+class:androidx.credentials.registry.provider.ClearCredentialRegistryUnknownException) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***


```
public final class ClearCredentialRegistryUnknownException extends ClearCredentialRegistryException
```

<br />

|---|---|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||||
| ↳ | [kotlin.Throwable](https://developer.android.com/reference/java/lang/Throwable.html) ||||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/java/lang/Exception.html) |||
|   |   | ↳ | [androidx.credentials.registry.provider.ClearCredentialRegistryException](https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryException) ||
|   |   |   | ↳ | [androidx.credentials.registry.provider.ClearCredentialRegistryUnknownException](https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryUnknownException) |

*** ** * ** ***

Thrown when the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#clearCredentialRegistry(androidx.credentials.registry.provider.ClearCredentialRegistryRequest)` transaction fails with no more detailed information.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryUnknownException#ClearCredentialRegistryUnknownException(kotlin.CharSequence)(https://developer.android.com/reference/java/lang/CharSequence.html errorMessage)` |

### Inherited methods

From [androidx.credentials.registry.provider.ClearCredentialRegistryException](https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryException) `final https://developer.android.com/reference/java/lang/CharSequence.html` `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryException#getErrorMessage()()`

the error message
`final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryException#getType()()`

the type of the error
From [kotlin.Throwable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-throwable/index.html) `final void` `https://developer.android.com/reference/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Throwable.html exception)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Throwable.html` `https://developer.android.com/reference/java/lang/Throwable.html#fillInStackTrace()()` `https://developer.android.com/reference/java/lang/Throwable.html` `https://developer.android.com/reference/java/lang/Throwable.html#getCause()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` `@https://developer.android.com/reference/androidx/annotation/RecentlyNullable
https://developer.android.com/reference/java/lang/Throwable.html#getLocalizedMessage()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/java/lang/Throwable.html#getMessage()()` `@https://developer.android.com/reference/androidx/annotation/NonNull StackTraceElement[]` `@https://developer.android.com/reference/androidx/annotation/RecentlyNonNull
https://developer.android.com/reference/java/lang/Throwable.html#getStackTrace()()` `final @https://developer.android.com/reference/androidx/annotation/NonNull Throwable[]` `@https://developer.android.com/reference/androidx/annotation/RecentlyNonNull
https://developer.android.com/reference/java/lang/Throwable.html#getSuppressed()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Throwable.html` `https://developer.android.com/reference/java/lang/Throwable.html#initCause(java.lang.Throwable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Throwable.html cause)` `void` `https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace()()` `void` `https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/io/PrintStream.html s)` `void` `https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/io/PrintWriter.html s)` `void` `https://developer.android.com/reference/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])(@https://developer.android.com/reference/androidx/annotation/NonNull StackTraceElement[] stackTrace)`

## Public constructors

### ClearCredentialRegistryUnknownException

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public ClearCredentialRegistryUnknownException(CharSequence errorMessage)
```

| Parameters |
|---|---|
| `https://developer.android.com/reference/java/lang/CharSequence.html errorMessage` | the error message |