From: Peter Graves <peter@ar...> - 2007-10-30 20:59:08
On Tue, 30 Oct 2007 at 13:25:12 -0700, Peter Graves wrote:
> From: Marco Antoniotti <antoniotti.marco@...>
> To: armedbear-j-devel@...
> Subject: Re: [j-devel] [Fwd: Embedding ABCL in a Java Program: Exceptions]
> Date: Tue, 30 Oct 2007 19:12:34 +0100
> On Oct 30, 2007, at 17:02 , Peter Graves wrote:
> >> we would like to use ABCL as an embedded system. There is one issue
> >> that we would like to clarify and that is how CL conditions get
> >> "translated" into Java. Are they rendered as Java exceptions or are
> >> they somehow detectable form Java code?
> > CL conditions aren't translated automatically into Java, but you can
> > use HANDLER-BIND or HANDLER-CASE to call arbitrary Java code when a
> > condition of interest is signalled.
> Not even as a wrapper? According to a post on CLL you should be able
> to do it. Is that the case?
It's quite possible that someone knows a better way to do this. I never
use ABCL from Java myself, so I don't have much experience in this