cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r392215 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/TemplateObjectModelHelper.java
Date Fri, 07 Apr 2006 08:43:15 GMT
Author: cziegeler
Date: Fri Apr  7 01:43:14 2006
New Revision: 392215

URL: http://svn.apache.org/viewcvs?rev=392215&view=rev
Log:
Make core compilable with JDK 1.3

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/TemplateObjectModelHelper.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/TemplateObjectModelHelper.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/TemplateObjectModelHelper.java?rev=392215&r1=392214&r2=392215&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/TemplateObjectModelHelper.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/TemplateObjectModelHelper.java
Fri Apr  7 01:43:14 2006
@@ -20,6 +20,7 @@
 import java.util.HashMap;
 import java.util.Map;
 
+import org.apache.avalon.framework.CascadingRuntimeException;
 import org.apache.avalon.framework.parameters.Parameters;
 import org.apache.cocoon.components.flow.FlowHelper;
 import org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptFlowHelper;
@@ -55,7 +56,7 @@
             try {
                 scope = ctx.newObject(rootScope);
             } catch (Exception e) {
-                throw new RuntimeException(e);
+                throw new CascadingRuntimeException("Exception", e);
             }
             scope.setPrototype(rootScope);
             scope.setParentScope(null);



Mime
View raw message