hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCORE-259) inaccurate exception message at org.apache.http.protocol.ResponseContent.java line 60
Date Sat, 11 Jun 2011 05:51:58 GMT
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


Mime
View raw message