Class RawResourceDataSource.RawResourceDataSourceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.google.android.exoplayer2.upstream.DataSourceException
-
- com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RawResourceDataSource
public static class RawResourceDataSource.RawResourceDataSourceException extends DataSourceException
Thrown when anIOException
is encountered reading from a raw resource.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.google.android.exoplayer2.upstream.DataSourceException
POSITION_OUT_OF_RANGE, reason
-
-
Constructor Summary
Constructors Constructor Description RawResourceDataSourceException(String message)
Deprecated.RawResourceDataSourceException(String message, Throwable cause, @com.google.android.exoplayer2.PlaybackException.ErrorCode int errorCode)
Creates a new instance.RawResourceDataSourceException(Throwable cause)
Deprecated.
-
Method Summary
-
Methods inherited from class com.google.android.exoplayer2.upstream.DataSourceException
isCausedByPositionOutOfRange
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RawResourceDataSourceException
@Deprecated public RawResourceDataSourceException(String message)
Deprecated.
-
RawResourceDataSourceException
@Deprecated public RawResourceDataSourceException(Throwable cause)
Deprecated.
-
RawResourceDataSourceException
public RawResourceDataSourceException(@Nullable String message, @Nullable Throwable cause, @ErrorCode @com.google.android.exoplayer2.PlaybackException.ErrorCode int errorCode)
Creates a new instance.
-
-