# ConfirmationNotAvailableException

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

# ConfirmationNotAvailableException

*** ** * ** ***

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

```
open class ConfirmationNotAvailableException : Exception
```

|---|---|---|----------------------------------------------------------------------------------------------------------------------------------------------------------|
| [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.security.ConfirmationNotAvailableException](https://developer.android.com/reference/kotlin/android/security/ConfirmationNotAvailableException#) |

This exception is thrown when presenting a prompt fails because the environment lacks facilities for showing confirmations.

## Summary

|                                                                                                                                         Public constructors                                                                                                                                         ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [ConfirmationNotAvailableException](https://developer.android.com/reference/kotlin/android/security/ConfirmationNotAvailableException#ConfirmationNotAvailableException())`()` <br />                                                                                                            |
| [ConfirmationNotAvailableException](https://developer.android.com/reference/kotlin/android/security/ConfirmationNotAvailableException#ConfirmationNotAvailableException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` <br /> |

## Public constructors

### ConfirmationNotAvailableException

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

```
ConfirmationNotAvailableException()
```  

### ConfirmationNotAvailableException

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

```
ConfirmationNotAvailableException(message: String!)
```