docs/doc/reference/com/google/android/exoplayer2/mediacodec/MediaCodecDecoderException.html
Package com.google.android.exoplayer2.mediacodec
All Implemented Interfaces:SerializableDirect Known Subclasses:MediaCodecVideoDecoderException
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classMediaCodecDecoderExceptionextends[DecoderException](../decoder/DecoderException.html "class in com.google.android.exoplayer2.decoder")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Thrown when a failure occurs in a MediaCodec decoder.
See Also:Serialized Form
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| MediaCodecInfo | codecInfo |
Deprecated.
The MediaCodecInfo of the decoder that failed.
|
| String | diagnosticInfo |
Deprecated.
An optional developer-readable diagnostic information string. |
Constructors | Constructor | Description |
| --- | --- |
| MediaCodecDecoderException(Throwable cause, MediaCodecInfo codecInfo) |
Deprecated.
|
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
@Nullable
public final[MediaCodecInfo](MediaCodecInfo.html "class in com.google.android.exoplayer2.mediacodec")codecInfo
Deprecated.
The MediaCodecInfo of the decoder that failed. Null if unknown.
-
@Nullable
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")diagnosticInfo
Deprecated.
An optional developer-readable diagnostic information string. May be null.
-
public MediaCodecDecoderException([Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")cause,
@Nullable[MediaCodecInfo](MediaCodecInfo.html "class in com.google.android.exoplayer2.mediacodec")codecInfo)
Deprecated.