> Documentation index: https://developer.android.com/reference/llms.txt

# GetAgeRangeException

Artifact: [androidx.credentials.agesignals:agesignals](https://developer.android.com/jetpack/androidx/releases/credentials-agesignals.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/credentials/agesignals/exceptions/GetAgeRangeException.kt+class:androidx.credentials.agesignals.exceptions.GetAgeRangeException) Added in [1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/credentials-agesignals.md.txt#1.0.0-alpha01)

*** ** * ** ***


```
abstract class GetAgeRangeException : Exception
```

<br />

|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) ||||
| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-throwable/index.html) |||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/java/lang/Exception.md.txt) ||
|   |   | ↳ | [androidx.credentials.agesignals.exceptions.GetAgeRangeException](https://developer.android.com/reference/kotlin/androidx/credentials/agesignals/exceptions/GetAgeRangeException.md.txt) |

Known direct subclasses [GetAgeRangeInterruptedException](https://developer.android.com/reference/kotlin/androidx/credentials/agesignals/exceptions/GetAgeRangeInterruptedException.md.txt), [GetAgeRangeProviderConfigurationException](https://developer.android.com/reference/kotlin/androidx/credentials/agesignals/exceptions/GetAgeRangeProviderConfigurationException.md.txt), [GetAgeRangeUnavailableException](https://developer.android.com/reference/kotlin/androidx/credentials/agesignals/exceptions/GetAgeRangeUnavailableException.md.txt), [GetAgeRangeUnknownException](https://developer.android.com/reference/kotlin/androidx/credentials/agesignals/exceptions/GetAgeRangeUnknownException.md.txt)

|---|---|
| `GetAgeRangeInterruptedException` | Signals that the age range retrieval process was interrupted. |
| `GetAgeRangeProviderConfigurationException` | Signals that the age signal provider is not properly configured on the device. |
| `GetAgeRangeUnavailableException` | Signals that the age range is unavailable, for example because age signal retrieval is not supported on this device or because the operation was cancelled. |
| `GetAgeRangeUnknownException` | Signals an unknown or unexpected error during age range retrieval. |

*** ** * ** ***

Signals that an age range request failed.

## Summary

### Inherited functions

From [kotlin.Throwable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-throwable/index.html) `Unit` `addSuppressed(exception: Throwable)` `Throwable` `fillInStackTrace()` `Throwable` `initCause(cause: Throwable)` `Unit` `printStackTrace()` `Unit` `printStackTrace(s: PrintStream)` `Unit` `printStackTrace(s: PrintWriter)`

### Inherited properties

From [kotlin.Throwable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-throwable/index.html) `open Throwable?` `cause` `open String` `localizedMessage` `open String?` `message` `open Array<StackTraceElement>` `stackTrace` `Array<Throwable>` `suppressed`