JAXRS Web Client pre-connect errors can be better propagated
------------------------------------------------------------
Key: CXF-2961
URL: https://issues.apache.org/jira/browse/CXF-2961
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 2.2.10, 2.3
Reporter: Peter Easton
Priority: Minor
Fix For: 2.3
HTTP client errors fall into 2 categories:
i. The connect succeeds, a non-2xx HTTP response is returned by the service.
ii. The connect does not succeed because of local HTTP client runtime issues
(bad hostname, port unavailable, unsupported method).
In the later error cases a WebApplication exceptions is returned BUT no root
cause exception is available.
A suggested patch is included.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.