类 ForestRetryException

所有已实现的接口:
Serializable

public class ForestRetryException extends ForestRuntimeException
另请参阅:
  • 构造器详细资料

    • ForestRetryException

      public ForestRetryException(ForestRequest request, int maxRetryCount, int currentRetryCount, boolean needRetry)
    • ForestRetryException

      public ForestRetryException(ForestRequest request, int maxRetryCount, int currentRetryCount)
    • ForestRetryException

      public ForestRetryException(Throwable cause, ForestRequest request, int maxRetryCount, int currentRetryCount)
  • 方法详细资料

    • getMaxRetryCount

      public int getMaxRetryCount()
    • getCurrentRetryCount

      public int getCurrentRetryCount()
    • getRequest

      public ForestRequest getRequest()
    • isNeedRetry

      public boolean isNeedRetry()
    • isMaxRetryCountReached

      public boolean isMaxRetryCountReached()
      是否达到最大请求重试次数
      返回:
      true: 已达到, false: 未达到
    • getCause

      public Throwable getCause()
      覆盖:
      getCause 在类中 Throwable