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

Public exception classes in java.net.http should clarify that the the message passed to their constructor can be null

XMLWordPrintable

      The java.net.http package description has a blanket statement indicating that "Unless otherwise stated, null parameter values will cause methods of all classes in this package to throw NullPointerException.". The message passed to the constructor of HttpTimeoutException and HttpConnectTimeoutException can be null, but the API documentation doesn't explicitly say so.

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

              Created:
              Updated: