# MediaCasException.UnsupportedCasException

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

# UnsupportedCasException

*** ** * ** ***

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

```
class UnsupportedCasException : 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.UnsupportedCasException](https://developer.android.com/reference/kotlin/android/media/MediaCasException.UnsupportedCasException#) |

Exception thrown when an attempt is made to construct a MediaCas object using a CA_system_id that is not supported by the device

## Summary