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.
Public exception classes in java.net.http should clarify that the the message passed to their constructor can be null
-
Volkan Yazici
-
Daniel Fuchs
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated: