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
public class DecoderException extends Exception
Thrown when aDecoder
error occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DecoderException(String message)
Creates an instance.DecoderException(String message, Throwable cause)
Creates an instance.DecoderException(Throwable cause)
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)
Creates an instance.- Parameters:
message
- The detail message for this exception.
-
DecoderException
public DecoderException(@Nullable Throwable cause)
Creates an instance.- Parameters:
cause
- The cause of this exception, ornull
.
-
-