public static final class LoaderErrorThrower.Dummy extends java.lang.Object implements LoaderErrorThrower
LoaderErrorThrower that never throws.LoaderErrorThrower.Dummy| Constructor and Description |
|---|
Dummy() |
| Modifier and Type | Method and 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. |
public void maybeThrowError()
throws java.io.IOException
LoaderErrorThrowerLoader.Loadable has incurred a number of errors greater than the Loaders default
minimum number of retries. Else does nothing.maybeThrowError in interface LoaderErrorThrowerjava.io.IOException - The error.public void maybeThrowError(int minRetryCount)
throws java.io.IOException
LoaderErrorThrowerLoader.Loadable has incurred a number of errors greater than the specified minimum number
of retries. Else does nothing.maybeThrowError in interface LoaderErrorThrowerminRetryCount - A minimum retry count that must be exceeded for a non-fatal error to be
thrown. Should be non-negative.java.io.IOException - The error.