# MediaCasException.NotProvisionedException

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

# NotProvisionedException

*** ** * ** ***

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

```
class NotProvisionedException : MediaCasException
```

|---|---|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [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.media.MediaCasException](https://developer.android.com/reference/kotlin/android/media/MediaCasException)                                                     ||
|   |   |   | ↳ | [android.media.MediaCasException.NotProvisionedException](https://developer.android.com/reference/kotlin/android/media/MediaCasException.NotProvisionedException#) |

Exception thrown when an operation on a MediaCas object is attempted before it's provisioned successfully.

## Summary