Author: mmusaji
Date: 2012-07-19 11:51:17 -0400 (Thu, 19 Jul 2012)
New Revision: 2054
Modified:
branches/7.0.x/
branches/7.0.x/java/org/apache/tomcat/InstanceManager.java
branches/7.0.x/java/org/apache/tomcat/PeriodicEventListener.java
branches/7.0.x/java/org/apache/tomcat/util/http/Parameters.java
Log:
[JBPAPP-9499] - Replaced exception with log warning to allow support backward
compatibility
Property changes on: branches/7.0.x
___________________________________________________________________
Added: svn:mergeinfo
+ /branches/JBOSSWEB_7_0_16_FINAL_JBPAPP-9500:2048
Property changes on: branches/7.0.x/java/org/apache/tomcat/InstanceManager.java
___________________________________________________________________
Deleted: svn:mergeinfo
-
Property changes on: branches/7.0.x/java/org/apache/tomcat/PeriodicEventListener.java
___________________________________________________________________
Deleted: svn:mergeinfo
-
Modified: branches/7.0.x/java/org/apache/tomcat/util/http/Parameters.java
===================================================================
--- branches/7.0.x/java/org/apache/tomcat/util/http/Parameters.java 2012-07-18 14:52:00
UTC (rev 2053)
+++ branches/7.0.x/java/org/apache/tomcat/util/http/Parameters.java 2012-07-19 15:51:17
UTC (rev 2054)
@@ -404,7 +404,8 @@
Integer.valueOf(decodeFailCount)));
}
if (parseFailed) {
- throw new
IllegalStateException(sm.getString("parameters.failed"));
+ //no need to throw an exception, let's just log a warning as previously
done
+ log.warn(sm.getString("parameters.failed"));
}
}
Show replies by date