# MediaParser.ParsingException

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

# ParsingException

*** ** * ** ***

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

```
class ParsingException : IOException
```

|---|---|---|---|------------------------------------------------------------------------------------------------------------------------------------------|
| [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#)                                                |||
|   |   | ↳ | [java.io.IOException](https://developer.android.com/reference/kotlin/java/io/IOException.html#)                                             ||
|   |   |   | ↳ | [android.media.MediaParser.ParsingException](https://developer.android.com/reference/kotlin/android/media/MediaParser.ParsingException#) |

Thrown when an error occurs while parsing a media stream.

## Summary