docs/doc/reference/com/google/android/exoplayer2/upstream/LoaderErrorThrower.Placeholder.html
Package com.google.android.exoplayer2.upstream
All Implemented Interfaces:LoaderErrorThrowerEnclosing interface:LoaderErrorThrower
public static final classLoaderErrorThrower.Placeholderextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[LoaderErrorThrower](LoaderErrorThrower.html "interface in com.google.android.exoplayer2.upstream")
A LoaderErrorThrower that never throws.
-
LoaderErrorThrower.Placeholder
Constructors | Constructor | Description |
| --- | --- |
| Placeholder() | |
All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| void | maybeThrowError() |
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current Loader.Loadable has incurred a number of errors greater than the Loaders default minimum number of retries.
|
| void | maybeThrowError(int minRetryCount) |
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current Loader.Loadable has incurred a number of errors greater than the specified minimum number of retries.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public Placeholder()
-
public void maybeThrowError()
Description copied from interface: LoaderErrorThrower
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current Loader.Loadable has incurred a number of errors greater than the Loaders default minimum number of retries. Else does nothing.
Specified by:maybeThrowError in interface LoaderErrorThrower
-
public void maybeThrowError(int minRetryCount)
Description copied from interface: LoaderErrorThrower
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current Loader.Loadable has incurred a number of errors greater than the specified minimum number of retries. Else does nothing.
Specified by:maybeThrowError in interface LoaderErrorThrowerParameters:minRetryCount - A minimum retry count that must be exceeded for a non-fatal error to be thrown. Should be non-negative.