[armedbear-cvs] r11363 - trunk/j/src/org/armedbear/lisp
Erik Huelsmann
ehuelsmann at common-lisp.net
Sat Oct 25 21:44:08 UTC 2008
Author: ehuelsmann
Date: Sat Oct 25 21:44:03 2008
New Revision: 11363
Log:
Make sure WrongNumberOfArgumentsException errors get reported with a message instead
of #<PROGRAM-ERROR (some address)>.
Modified:
trunk/j/src/org/armedbear/lisp/WrongNumberOfArgumentsException.java
Modified: trunk/j/src/org/armedbear/lisp/WrongNumberOfArgumentsException.java
==============================================================================
--- trunk/j/src/org/armedbear/lisp/WrongNumberOfArgumentsException.java (original)
+++ trunk/j/src/org/armedbear/lisp/WrongNumberOfArgumentsException.java Sat Oct 25 21:44:03 2008
@@ -32,6 +32,8 @@
// own Java class as a convenience for the implementation.
super(StandardClass.PROGRAM_ERROR);
this.operator = operator;
+ setFormatControl(getMessage());
+ setFormatArguments(NIL);
}
public String getMessage()
More information about the armedbear-cvs
mailing list