[Seaside-dev] Seaside and exception behaviour
Paolo Bonzini
bonzini at gnu.org
Wed Jan 5 15:40:24 UTC 2011
On 01/05/2011 04:08 PM, mkobetic at cincom.com wrote:
> Here's maybe a bit more concise example. If you run the thing below in a workspace,
> it should return 'Squeak' in Squeak and 'VW' in VW
>
> [ [ [ self error: 'trigger error'
> ] on: ZeroDivide do: [ :ex | 'Squeak' ]
> ] on: Error do: [ :ex | 3 / 0 ]
> ] on: ZeroDivide do: [ :ex | 'VW' ]
It returns 'Squeak' on GNU Smalltalk. This is consistent with my
analysis of Alan's snippet. Unfortunately I don't have at hand my copy
of the standard.
Paolo
More information about the seaside-dev
mailing list