public class

RawResourceDataSource.RawResourceDataSourceException

extends DataSourceException

 java.lang.Object

↳java.lang.Throwable

↳java.lang.Exception

↳java.io.IOException

androidx.media3.datasource.DataSourceException

↳androidx.media3.datasource.RawResourceDataSource.RawResourceDataSourceException

Overview

Thrown when an java.io.IOException is encountered reading from a raw resource.

Summary

Fields
from DataSourceExceptionPOSITION_OUT_OF_RANGE, reason
Constructors
publicRawResourceDataSourceException(java.lang.String message)

publicRawResourceDataSourceException(java.lang.String message, java.lang.Throwable cause, int errorCode)

Creates a new instance.

publicRawResourceDataSourceException(java.lang.Throwable cause)

Methods
from DataSourceExceptionisCausedByPositionOutOfRange
from java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructors

public RawResourceDataSourceException(java.lang.String message)

Deprecated: Use RawResourceDataSource.RawResourceDataSourceException.RawResourceDataSourceException(String, Throwable, int).

public RawResourceDataSourceException(java.lang.Throwable cause)

Deprecated: Use RawResourceDataSource.RawResourceDataSourceException.RawResourceDataSourceException(String, Throwable, int).

public RawResourceDataSourceException(java.lang.String message, java.lang.Throwable cause, int errorCode)

Creates a new instance.