struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pbened...@apache.org
Subject svn commit: r558255 - /struts/struts1/trunk/scripting/src/main/java/org/apache/struts/scripting/ScriptAction.java
Date Sat, 21 Jul 2007 06:15:49 GMT
Author: pbenedict
Date: Fri Jul 20 23:15:48 2007
New Revision: 558255

URL: http://svn.apache.org/viewvc?view=rev&rev=558255
Log:
STR-2437: Add root cause to Exception

Modified:
    struts/struts1/trunk/scripting/src/main/java/org/apache/struts/scripting/ScriptAction.java

Modified: struts/struts1/trunk/scripting/src/main/java/org/apache/struts/scripting/ScriptAction.java
URL: http://svn.apache.org/viewvc/struts/struts1/trunk/scripting/src/main/java/org/apache/struts/scripting/ScriptAction.java?view=diff&rev=558255&r1=558254&r2=558255
==============================================================================
--- struts/struts1/trunk/scripting/src/main/java/org/apache/struts/scripting/ScriptAction.java
(original)
+++ struts/struts1/trunk/scripting/src/main/java/org/apache/struts/scripting/ScriptAction.java
Fri Jul 20 23:15:48 2007
@@ -202,7 +202,7 @@
             scriptName = parseScriptName(mapping.getParameter(), bsfManager);
         } catch (Exception ex) {
             LOG.error("Unable to parse " + mapping.getParameter(), ex);
-            throw new Exception("Unable to parse " + mapping.getParameter());
+            throw new Exception("Unable to parse " + mapping.getParameter(), ex);
         }
         if (scriptName == null) {
             LOG.error("No script specified in the parameter attribute");



Mime
View raw message