semantics of Exception>>outer ?

Ned Konz ned at bike-nomad.com
Fri Jun 27 17:48:52 UTC 2003


On Friday 27 June 2003 10:27 am, Anthony Hannan wrote:
> Subject:
>
> I rewrote ifError: in ContextCleanup-ajh, and fixed #outer to
> report that it is deprecated because it is the same a #pass.  Or is
> it different?  At least the old code is equivalent.

My question remains, substituting #pass for #outer.

In the 3.6a image, this raises the default exception handler, and does 
not return 'outer' as I expected it to do:

[[ self error: 'xx' ] on: Error do: [ :ex | ex isNested ifTrue: [ ex 
pass ] ifFalse: [ ex return: 'not nested' ]]] on: Error do: [ :ex | 
ex return: 'outer' ]

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list