Package 

Class PriorityNetworkFetcher.NonrecoverableException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class PriorityNetworkFetcher.NonrecoverableException
    extends Throwable
                        

    The delegate fetcher may pass an instance of this exception to its callback's onFailure tosignal to a PriorityNetworkFetcher that it shouldn't retry that request.

    This is useful for e.g., requests that fail due to HTTP 403: there's no point in retryingthem, usually.

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PriorityNetworkFetcher.NonrecoverableException

        PriorityNetworkFetcher.NonrecoverableException(String message)