Class ContentDataSource.ContentDataSourceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.google.android.exoplayer2.upstream.DataSourceException
-
- com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ContentDataSource
public static class ContentDataSource.ContentDataSourceException extends DataSourceException
Thrown when anIOException
is encountered reading from a content URI.- 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 ContentDataSourceException(IOException cause)
Deprecated.ContentDataSourceException(IOException cause, @com.google.android.exoplayer2.PlaybackException.ErrorCode int errorCode)
Creates a new instance.
-
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
-
ContentDataSourceException
@Deprecated public ContentDataSourceException(IOException cause)
Deprecated.
-
ContentDataSourceException
public ContentDataSourceException(@Nullable IOException cause, @ErrorCode @com.google.android.exoplayer2.PlaybackException.ErrorCode int errorCode)
Creates a new instance.
-
-