Gerhard Poul created HTTPCLIENT-1586:
----------------------------------------
Summary: Enrich ConnectException with remoteAddress
Key: HTTPCLIENT-1586
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1586
Project: HttpComponents HttpClient
Issue Type: Improvement
Components: HttpConn
Affects Versions: 4.4 Beta1
Reporter: Gerhard Poul
Priority: Minor
When a ConnectException is thrown by Java it only contains information like
"connection refused", but not the remoteAddress that we tried connecting to and
while some code paths in HttpClient log this as info the core Exception is just
propagated to the end-user.
I propose to either change the description of the original ConnectException or
create a new httpclient-specific ConnectException like java.rmi does.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]