Back to Exoplayer

SubtitleDecoderException (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/text/SubtitleDecoderException.html

latest3.5 KB
Original Source

Package com.google.android.exoplayer2.text

Class SubtitleDecoderException


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classSubtitleDecoderExceptionextends[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 an error occurs decoding subtitle data. See Also:Serialized Form

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | SubtitleDecoderException​(String message) | Deprecated. | | SubtitleDecoderException​(String message, Throwable cause) | Deprecated. | | SubtitleDecoderException​(Throwable cause) | Deprecated. |

Method Summary

- 

Methods inherited from class java.lang.Throwable

addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

- 

SubtitleDecoderException

public SubtitleDecoderException​([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")message)

Deprecated. Parameters:message - The detail message for this exception.

- 

SubtitleDecoderException

public SubtitleDecoderException​(@Nullable[Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")cause)

Deprecated. Parameters:cause - The cause of this exception, or null.

- 

SubtitleDecoderException

public SubtitleDecoderException​([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")message,
                                @Nullable[Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")cause)

Deprecated. Parameters:message - The detail message for this exception.cause - The cause of this exception, or null.