Commits

mrdon  committed e34a3e8

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

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

  • Participants
  • Parent commits e7f0cd0

Comments (0)

Files changed (1)

File 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);