[armedbear-cvs] r12332 - trunk/abcl/src/org/armedbear/lisp/scripting

Alessio Stalla astalla at common-lisp.net
Tue Jan 5 14:24:08 UTC 2010


Author: astalla
Date: Tue Jan  5 09:24:05 2010
New Revision: 12332

Log:
Small change in an exception message.


Modified:
   trunk/abcl/src/org/armedbear/lisp/scripting/AbclScriptEngine.java

Modified: trunk/abcl/src/org/armedbear/lisp/scripting/AbclScriptEngine.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/scripting/AbclScriptEngine.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/scripting/AbclScriptEngine.java	Tue Jan  5 09:24:05 2010
@@ -293,7 +293,7 @@
 	    Symbol s = findSymbol("jmake-proxy", "JAVA");
 	    JavaObject iface = new JavaObject(clasz);
 	    return (T) ((JavaObject) s.execute(iface, (LispObject) thiz)).javaInstance();
-	}	
+	}
 	
     @Override
     public Object invokeFunction(String name, Object... args) throws ScriptException, NoSuchMethodException {
@@ -322,7 +322,7 @@
 
     @Override
     public Object invokeMethod(Object thiz, String name, Object... args) throws ScriptException, NoSuchMethodException {
-	throw new UnsupportedOperationException("Common Lisp does not have methods in the Java sense.");
+	throw new UnsupportedOperationException("Common Lisp does not have methods in the Java sense. Use invokeFunction instead.");
     }
 
     public class AbclCompiledScript extends CompiledScript {




More information about the armedbear-cvs mailing list