Class LoaderErrorThrower.Placeholder

    • Constructor Detail

      • Placeholder

        public Placeholder()
    • Method Detail

      • maybeThrowError

        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
      • maybeThrowError

        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 LoaderErrorThrower
        Parameters:
        minRetryCount - A minimum retry count that must be exceeded for a non-fatal error to be thrown. Should be non-negative.