Change JavaScriptException to EvaluatorException, fix Javadoc.
This commit is contained in:
parent
026d6e1429
commit
7cf471b69b
1 changed files with 8 additions and 8 deletions
|
@ -30,12 +30,12 @@ import java.lang.reflect.Method;
|
|||
* All argument conversion is done automatically. Currently the following argument and return
|
||||
* types are supported:
|
||||
* <ul>
|
||||
* <li> plain objects (with all properties returned by ESObject.getProperties ())
|
||||
* <li> arrays
|
||||
* <li> strings
|
||||
* <li> date objects
|
||||
* <li> booleans
|
||||
* <li> integer and float numbers (long values are not supported!)
|
||||
* <li> plain objects (with all properties returned by ESObject.getProperties ())</li>
|
||||
* <li> arrays</li>
|
||||
* <li> strings</li>
|
||||
* <li> date objects</li>
|
||||
* <li> booleans</li>
|
||||
* <li> integer and float numbers (long values are not supported!)</li>
|
||||
* </ul>
|
||||
*
|
||||
*/
|
||||
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue