struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r453706 - /struts/struts1/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/config/FormPropertyConfig.java
Date Fri, 06 Oct 2006 17:48:30 GMT
Author: niallp
Date: Fri Oct  6 10:48:30 2006
New Revision: 453706

URL: http://svn.apache.org/viewvc?view=rev&rev=453706
Log:
Port Fix for STR-2958 to 1.2.x Branch - ClassNotFoundExceptions are swallowed by FormPropertyConfig

Modified:
    struts/struts1/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/config/FormPropertyConfig.java

Modified: struts/struts1/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/config/FormPropertyConfig.java
URL: http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/config/FormPropertyConfig.java?view=diff&rev=453706&r1=453705&r2=453706
==============================================================================
--- struts/struts1/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/config/FormPropertyConfig.java
(original)
+++ struts/struts1/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/config/FormPropertyConfig.java
Fri Oct  6 10:48:30 2006
@@ -224,7 +224,9 @@
             }
             try {
                 baseClass = classLoader.loadClass(baseType);
-            } catch (Throwable t) {
+            } catch (ClassNotFoundException ex) {
+                log.error("Class '" + baseType +
+                          "' not found for property '" + name + "'");
                 baseClass = null;
             }
         }



Mime
View raw message