Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > cc3e12b5eddbda9b19eb68d422fdd57b > files > 2

httpunit-1.7-0.0.1mdv2009.0.src.rpm

--- src/com/meterware/httpunit/javascript/JavaScript.java.orig	2004-10-03 10:17:12.000000000 +0300
+++ src/com/meterware/httpunit/javascript/JavaScript.java	2004-11-13 18:48:18.546230094 +0200
@@ -826,10 +826,15 @@
         static ElementArray newElementArray( Scriptable parent ) {
             try {
                 return (ElementArray) Context.getCurrentContext().newObject( parent, "ElementArray" );
+/* PropertyException not thrown here as of Rhino-1.5-R5
             } catch (PropertyException e) {
                 throw new RhinoException( e );
+*/
+/* deprecated NotAFunctionException now extends Error
+   and is no longer thrown by Rhino-1.5-R5
             } catch (NotAFunctionException e) {
                 throw new RhinoException( e );
+*/
             } catch (JavaScriptException e) {
                 throw new RhinoException( e );
             }