From 7cf471b69bdc40f879714547d27bcb8e6c734179 Mon Sep 17 00:00:00 2001 From: hns Date: Thu, 18 Dec 2003 09:28:23 +0000 Subject: [PATCH] Change JavaScriptException to EvaluatorException, fix Javadoc. --- .../scripting/rhino/extensions/XmlRpcObject.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/helma/scripting/rhino/extensions/XmlRpcObject.java b/src/helma/scripting/rhino/extensions/XmlRpcObject.java index f5f2e996..4ceb2e1c 100644 --- a/src/helma/scripting/rhino/extensions/XmlRpcObject.java +++ b/src/helma/scripting/rhino/extensions/XmlRpcObject.java @@ -30,12 +30,12 @@ import java.lang.reflect.Method; * All argument conversion is done automatically. Currently the following argument and return * types are supported: * * */ @@ -100,10 +100,10 @@ public class XmlRpcObject extends BaseFunction { Scriptable scope, Scriptable thisObj, Object[] args) - throws JavaScriptException { + throws EvaluatorException { if (method == null) { - throw new JavaScriptException("Invalid method name"); + throw new EvaluatorException("Invalid method name"); } RhinoEngine engine = (RhinoEngine) cx.getThreadLocal("engine");