You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Tobias Oberlies (JIRA)" <ji...@apache.org> on 2015/10/09 17:23:26 UTC
[jira] [Created] (HTTPCLIENT-1688) ProxySelectorRoutePlanner
doesn't handle IllegalStateException thrown by SchemeRegistry.getScheme
Tobias Oberlies created HTTPCLIENT-1688:
-------------------------------------------
Summary: ProxySelectorRoutePlanner doesn't handle IllegalStateException thrown by SchemeRegistry.getScheme
Key: HTTPCLIENT-1688
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1688
Project: HttpComponents HttpClient
Issue Type: Bug
Affects Versions: 4.5
Reporter: Tobias Oberlies
Unlike e.g. the {{DefaultHttpRoutePlanner}}, the {{ProxySelectorRoutePlanner}} doesn't handle the {{IllegalStateException}} that is thrown by {{SchemeRegistry.getScheme}} when using an unknown scheme. This means that the {{IllegalStateException}} is thrown all the way to the caller, e.g. {{HttpClient.execute}}.
I suppose that the exception should be handled and converted into one of the checked exceptions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org