Class DecoderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.android.exoplayer2.decoder.DecoderException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FfmpegDecoderException
,FlacDecoderException
,Gav1DecoderException
,MediaCodecDecoderException
,OpusDecoderException
,SubtitleDecoderException
,VpxDecoderException
@Deprecated public class DecoderException extends Exception
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 aDecoder
error occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DecoderException(String message)
Deprecated.Creates an instance.DecoderException(String message, Throwable cause)
Deprecated.Creates an instance.DecoderException(Throwable cause)
Deprecated.Creates an instance.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DecoderException
public DecoderException(String message)
Deprecated.Creates an instance.- Parameters:
message
- The detail message for this exception.
-
DecoderException
public DecoderException(@Nullable Throwable cause)
Deprecated.Creates an instance.- Parameters:
cause
- The cause of this exception, ornull
.
-
-