Author: markt
Date: Sun Mar  9 10:19:59 2008
New Revision: 635298

URL: http://svn.apache.org/viewvc?rev=635298&view=rev
Log:
Use localised string having gone to the bother of obtaining it.

Modified:
    tomcat/trunk/java/javax/servlet/http/HttpServlet.java

Modified: tomcat/trunk/java/javax/servlet/http/HttpServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/HttpServlet.java?rev=635298&r1=635297&r2=635298&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/http/HttpServlet.java (original)
+++ tomcat/trunk/java/javax/servlet/http/HttpServlet.java Sun Mar  9 10:19:59 
2008
@@ -804,7 +804,7 @@
             // isn't this really an IllegalArgumentException?
             
             String msg = lStrings.getString("err.io.negativelength");
-            throw new IOException("negative length");
+            throw new IOException(msg);
         }
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to