About Exception

stéphane ducasse ducasse at iam.unibe.ch
Thu Apr 7 08:55:18 UTC 2005


Hi guys

A friend on mine asked me about the following

Compiler evaluate:'1'
1

[Compiler evaluate:'1'] on: Exception do: [ :ex | -1 ]
-1

I do not understand why the exception is raised

[Compiler evaluate:'1'] on: Error do: [ :ex | -1 ]

1

Of course Exception is mentally for me an abstract class but I do not 
understand
why this has an influence.
Any idea?

Stef




More information about the Squeak-dev mailing list