Github user ok2c commented on a diff in the pull request:

    https://github.com/apache/httpcomponents-core/pull/90#discussion_r224955724
  
    --- Diff: 
httpcore5/src/main/java/org/apache/hc/core5/concurrent/BasicFuture.java ---
    @@ -94,7 +95,7 @@ public synchronized T get(final long timeout, final 
TimeUnit unit)
             if (this.completed) {
                 return getResult();
             } else if (waitTime <= 0) {
    -            throw new TimeoutException();
    +            throw TimeoutValueException.ofMillis(msecs, msecs + 
Math.abs(waitTime));
    --- End diff --
    
    @garydgregory What is the value of this information? What good does it make 
to print out current time and deadline in milliseconds? I thought you were 
going to include the timeout value in the exception message, which would be of 
some marginal use.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to