Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8369315

Revisit wrapping of HttpTimeoutException / HttpConnectTimeoutException

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • core-libs

      The HttpClient will sometime wrap HttpTimeoutException / HttpConnectTimeoutException in other type of IOExceptions, such as plain IOException("connection closed") or SSLHandshakeException if the timeout occurred during SSLHandshake.

      It could be a better strategy to let the HttpTimeoutException / HttpConnectTimeoutException percolate as the top level exception - and add the other exceptions as suppressed exceptions.

            vyazici Volkan Yazici
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: