jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: jakarta-bsf/src/org/apache/bsf/engines/javascript JavaScriptEngine.java
Date Mon, 16 Feb 2004 18:43:00 GMT
orlikowski    2004/02/16 10:43:00

  Modified:    src/org/apache/bsf/engines/javascript JavaScriptEngine.java
  Log:
  Correct an exception from back in September. Part of other work being done.
  
  Revision  Changes    Path
  1.7       +1 -1      jakarta-bsf/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java
  
  Index: JavaScriptEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bsf/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JavaScriptEngine.java	10 Jul 2003 05:33:37 -0000	1.6
  +++ JavaScriptEngine.java	16 Feb 2004 18:43:00 -0000	1.7
  @@ -116,7 +116,7 @@
   
               Object fun = global.get(method, global);
               if (fun == Scriptable.NOT_FOUND)
  -                throw new JavaScriptException("function " + method + " not found.");
  +                throw new EvaluatorException("function " + method + " not found.");
   
               cx.setOptimizationLevel(-1);
               cx.setGeneratingDebug(false);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org


Mime
View raw message