DecoderException


@UnstableApi
public class DecoderException extends Exception

Known direct subclasses
ImageDecoderException

Thrown when an error occurs decoding image data.

MediaCodecDecoderException

Thrown when a failure occurs in a MediaCodec decoder.

SubtitleDecoderException

Thrown when an error occurs decoding subtitle data.

Known indirect subclasses
MediaCodecVideoDecoderException

Thrown when a failure occurs in a MediaCodec video decoder.


Thrown when a Decoder error occurs.

Summary

Public constructors

Creates an instance.

Creates an instance.

Creates an instance.

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public constructors

DecoderException

public DecoderException(@Nullable Throwable cause)

Creates an instance.

Parameters
@Nullable Throwable cause

The cause of this exception, or null.

DecoderException

public DecoderException(String message)

Creates an instance.

Parameters
String message

The detail message for this exception.

DecoderException

public DecoderException(String message, @Nullable Throwable cause)

Creates an instance.

Parameters
String message

The detail message for this exception.

@Nullable Throwable cause

The cause of this exception, or null.