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: [email protected]
For additional commands, e-mail: [email protected]