From: Ville Voutilainen <ville.voutilainen@gm...> - 2007-11-11 17:28:46
I *finally* got some time to test the following scenario:
1) invoke java code from lisp (as usual)
2) lisp code invokes java code
3) java code invoked in 2) throws an exception
This is handled by abcl so that the java exception thrown in 3) raises
of type java-exception, which can be handled in lisp code with usual
I decided I like this approach, because although it is not transparent, it means
that abcl code is not that tied to java. If we would have only
we could not assume that there is a java code layer invoking the lisp code.
Therefore it's reasonable to let the lisp code handle the condition, instead
of letting the java exception travel through. As discussed before, it's further
possible to map the condition to a ConditionThrowable at the java code
that is run at step 1).