# AuthenticatorException

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# AuthenticatorException

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/accounts/AuthenticatorException "View this page in Java")  

```
open class AuthenticatorException : AccountsException
```

|---|---|---|---|------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                              |||||
| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)                                               ||||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/kotlin/java/lang/Exception.html#)                                          |||
|   |   | ↳ | [android.accounts.AccountsException](https://developer.android.com/reference/kotlin/android/accounts/AccountsException)               ||
|   |   |   | ↳ | [android.accounts.AuthenticatorException](https://developer.android.com/reference/kotlin/android/accounts/AuthenticatorException#) |

## Summary

|                                                                                                                                                                                    Public constructors                                                                                                                                                                                     ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [AuthenticatorException](https://developer.android.com/reference/kotlin/android/accounts/AuthenticatorException#AuthenticatorException())`()` <br />                                                                                                                                                                                                                                    |
| [AuthenticatorException](https://developer.android.com/reference/kotlin/android/accounts/AuthenticatorException#AuthenticatorException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` <br />                                                                                                                         |
| [AuthenticatorException](https://developer.android.com/reference/kotlin/android/accounts/AuthenticatorException#AuthenticatorException(kotlin.String,%20kotlin.Throwable))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`, `cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` <br /> |
| [AuthenticatorException](https://developer.android.com/reference/kotlin/android/accounts/AuthenticatorException#AuthenticatorException(kotlin.Throwable))`(`cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` <br />                                                                                                                  |

## Public constructors

### AuthenticatorException

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
AuthenticatorException()
```  

### AuthenticatorException

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
AuthenticatorException(message: String!)
```  

### AuthenticatorException

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
AuthenticatorException(
    message: String!, 
    cause: Throwable!)
```  

### AuthenticatorException

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
AuthenticatorException(cause: Throwable!)
```