public interface LoaderErrorThrower
Loader.| Modifier and Type | Interface and Description |
|---|---|
static class |
LoaderErrorThrower.Dummy
A
LoaderErrorThrower that never throws. |
| 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. |
void maybeThrowError()
throws java.io.IOException
Loader.Loadable has incurred a number of errors greater than the Loaders default
minimum number of retries. Else does nothing.java.io.IOException - The error.void maybeThrowError(int minRetryCount)
throws java.io.IOException
Loader.Loadable has incurred a number of errors greater than the specified minimum number
of retries. Else does nothing.minRetryCount - 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.