You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Allen (JIRA)" <ji...@apache.org> on 2011/06/11 07:51:58 UTC
[jira] [Created] (HTTPCORE-259) inaccurate exception message at
org.apache.http.protocol.ResponseContent.java line 60
inaccurate exception message at org.apache.http.protocol.ResponseContent.java line 60
--------------------------------------------------------------------------------------
Key: HTTPCORE-259
URL: https://issues.apache.org/jira/browse/HTTPCORE-259
Project: HttpComponents HttpCore
Issue Type: Bug
Components: HttpCore
Affects Versions: 4.1
Reporter: Allen
Priority: Minor
/* */ public class ResponseContent
/* */ implements HttpResponseInterceptor
/* */ {
/* */ public void process(HttpResponse response, HttpContext context)
/* */ throws HttpException, IOException
/* */ {
/* 59 */ if (response == null) {
/* 60 */ throw new IllegalArgumentException("HTTP request may not be null"); // "request" should be "response"
/* */ }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] [Resolved] (HTTPCORE-259) inaccurate exception message at
org.apache.http.protocol.ResponseContent.java line 60
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-259.
----------------------------------------
Resolution: Fixed
Fix Version/s: 4.1.2
Fixed in SVN trunk and 4.1.x branch.
Oleg
> inaccurate exception message at org.apache.http.protocol.ResponseContent.java line 60
> --------------------------------------------------------------------------------------
>
> Key: HTTPCORE-259
> URL: https://issues.apache.org/jira/browse/HTTPCORE-259
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore
> Affects Versions: 4.1
> Reporter: Allen
> Priority: Minor
> Fix For: 4.1.2
>
>
> /* */ public class ResponseContent
> /* */ implements HttpResponseInterceptor
> /* */ {
> /* */ public void process(HttpResponse response, HttpContext context)
> /* */ throws HttpException, IOException
> /* */ {
> /* 59 */ if (response == null) {
> /* 60 */ throw new IllegalArgumentException("HTTP request may not be null"); // "request" should be "response"
> /* */ }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org