Class LoaderErrorThrower.Placeholder
- java.lang.Object
 - 
- com.google.android.exoplayer2.upstream.LoaderErrorThrower.Placeholder
 
 
- 
- All Implemented Interfaces:
 LoaderErrorThrower
- Enclosing interface:
 - LoaderErrorThrower
 
public static final class LoaderErrorThrower.Placeholder extends Object implements LoaderErrorThrower
ALoaderErrorThrowerthat never throws. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.google.android.exoplayer2.upstream.LoaderErrorThrower
LoaderErrorThrower.Placeholder 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Placeholder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmaybeThrowError()Throws a fatal error, or a non-fatal error if loading is currently backed off and the currentLoader.Loadablehas incurred a number of errors greater than theLoaders default minimum number of retries.voidmaybeThrowError(int minRetryCount)Throws a fatal error, or a non-fatal error if loading is currently backed off and the currentLoader.Loadablehas incurred a number of errors greater than the specified minimum number of retries. 
 - 
 
- 
- 
Method Detail
- 
maybeThrowError
public void maybeThrowError()
Description copied from interface:LoaderErrorThrowerThrows a fatal error, or a non-fatal error if loading is currently backed off and the currentLoader.Loadablehas incurred a number of errors greater than theLoaders default minimum number of retries. Else does nothing.- Specified by:
 maybeThrowErrorin interfaceLoaderErrorThrower
 
- 
maybeThrowError
public void maybeThrowError(int minRetryCount)
Description copied from interface:LoaderErrorThrowerThrows a fatal error, or a non-fatal error if loading is currently backed off and the currentLoader.Loadablehas incurred a number of errors greater than the specified minimum number of retries. Else does nothing.- Specified by:
 maybeThrowErrorin interfaceLoaderErrorThrower- Parameters:
 minRetryCount- A minimum retry count that must be exceeded for a non-fatal error to be thrown. Should be non-negative.
 
 - 
 
 -