|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Correct way to throw exceptions/errors from C to ST |
Date: | Sun, 05 Apr 2015 08:07:43 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 05/04/2015 00:21, Roland Plüss wrote: > something [ [ anObject aCCallThatThrows ] on: Exception do: [ 'a > test' printNl ] ] > > But the exception is not handled but abort called by the byte > code. Could it be it fails because I'm using gst_perform? It's because each call to gst_perform is done in a separate Smalltalk Process. Holger's proposed solution (return the exception) sounds great. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |