Commits

mrdon  committed 2aa0730

Wrapping exceptions thrown by verify action so that they'll have location information available

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1004e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits de0894b

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork/config/providers/XmlConfigurationProvider.java

             className = ActionSupport.class.getName();
         }
 
-        if (!verifyAction(className, name)) {
-            return;
-        }
+        try {
+            if (!verifyAction(className, name)) {
+                return;
+            }
+        } catch (Throwable t) {
+            throw new ConfigurationException(t, actionElement);
+        }    
 
         Map actionParams = XmlHelper.getParams(actionElement);