public void Retry(VolleyError error) { mCurrentRetryCount++; mCurrentTimeoutMs += (mCurrentTimeoutMs * (int)mBackoffMultiplier); if (!HasAttemptRemaining) { throw error; } }
private Response(VolleyError error) { this.Result = null; this.CacheEntry = null; this.MError = error; }
public static Response Error(VolleyError error) { return(new Response(error)); }