tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1605891 - /tomcat/trunk/java/org/apache/tomcat/websocket/TransformationFactory.java
Date Thu, 26 Jun 2014 19:45:25 GMT
Author: markt
Date: Thu Jun 26 19:45:25 2014
New Revision: 1605891

URL: http://svn.apache.org/r1605891
Log:
This time with the unsupported extension name

Modified:
    tomcat/trunk/java/org/apache/tomcat/websocket/TransformationFactory.java

Modified: tomcat/trunk/java/org/apache/tomcat/websocket/TransformationFactory.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/TransformationFactory.java?rev=1605891&r1=1605890&r2=1605891&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/TransformationFactory.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/TransformationFactory.java Thu Jun 26 19:45:25
2014
@@ -40,6 +40,7 @@ public class TransformationFactory {
         if (PerMessageDeflate.NAME.equals(name)) {
             return PerMessageDeflate.negotiate(preferences);
         }
-        throw new IllegalArgumentException(sm.getString("transformerFactory.unsupportedExtension"));
+        throw new IllegalArgumentException(
+                sm.getString("transformerFactory.unsupportedExtension", name));
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message