# MediaCasException.ResourceBusyException

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

# ResourceBusyException

*** ** * ** ***

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

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

Exception thrown when an operation on a MediaCas object is attempted and hardware resources are not available, due to being in use.

## Summary