Re: Correct way to throw exceptions/errors from C to ST
Paolo Bonzini <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.gnu.general |
|---|---|
| Message-ID | <[email protected]> |
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