You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2006/06/28 20:46:32 UTC

svn commit: r417842 - /jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java

Author: olegk
Date: Wed Jun 28 11:46:32 2006
New Revision: 417842

URL: http://svn.apache.org/viewvc?rev=417842&view=rev
Log:
Fixed incorrect exception message

Modified:
    jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java

Modified: jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java?rev=417842&r1=417841&r2=417842&view=diff
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java (original)
+++ jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java Wed Jun 28 11:46:32 2006
@@ -59,7 +59,7 @@
     public void process(final HttpResponse response, final HttpContext context) 
             throws HttpException, IOException {
         if (response == null) {
-            throw new IllegalArgumentException("HTTP request may not be null");
+            throw new IllegalArgumentException("HTTP response may not be null");
         }
         if (context == null) {
             throw new IllegalArgumentException("HTTP context may not be null");