cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject svn commit: r292488 - /cocoon/trunk/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java
Date Thu, 29 Sep 2005 17:36:47 GMT
Author: bloritsch
Date: Thu Sep 29 10:36:44 2005
New Revision: 292488

URL: http://svn.apache.org/viewcvs?rev=292488&view=rev
Log:
revision control can restore the old lines--but the new ones are location specific

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java?rev=292488&r1=292487&r2=292488&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_JavaScriptInterpreter.java
Thu Sep 29 10:36:44 2005
@@ -681,26 +681,10 @@
                                                 "handleContinuation", args);
                 } catch (JavaScriptException ex) {
                     throw locationTracker.getException("Error calling continuation", ex);
-//                    EvaluatorException ee = Context.reportRuntimeError(
-//                                                                       ToolErrorReporter.getMessage("msg.uncaughtJSException",
-//                                                                                      
             ex.getMessage()));
-//                    Throwable unwrapped = unwrap(ex);
-//                    if (unwrapped instanceof ProcessingException) {
-//                        throw (ProcessingException)unwrapped;
-//                    }
-//                    throw new CascadingRuntimeException(ee.getMessage(),
-//                                                        unwrapped);
+
                 } catch (EcmaError ee) {
                     throw locationTracker.getException("Error calling continuation", ee);
-//                    String msg = ToolErrorReporter.getMessage("msg.uncaughtJSException",
ee.toString());
-//                    if (ee.getSourceName() != null) {
-//                        Context.reportRuntimeError(msg, ee.getSourceName(),
-//                                                   ee.getLineNumber(), ee.getLineSource(),
-//                                                   ee.getColumnNumber());
-//                    } else {
-//                        Context.reportRuntimeError(msg);
-//                    }
-//                    throw new CascadingRuntimeException(ee.getMessage(), ee);
+
                 }
             } finally {
                 kScope.setLock(false);



Mime
View raw message