Exception handling question
Roel Wuyts
wuyts at iam.unibe.ch
Sun Aug 3 11:02:19 UTC 2003
Yes, VW7.1 has the same behavior as VW3, unlike Squeak.
Snif, snif...
On Sunday, Aug 3, 2003, at 10:43 Europe/Zurich, Boris Gaertner wrote:
> Stephane Ducasse <ducasse at iam.unibe.ch> asked:
>
>> roel have you had a look in VW for comparison?
>
> This is a good proposal.
>
> In VW NC Vs. 3.0 the exception HaltInterrupt is subclassed to
> GenericException and ControlInterrupt. Both
>
> [self halt: 'a halt'] on: HaltInterrupt do: [:exc | Transcript show:
> exc class name; cr].
>
>
> and
>
>
>
> [self halt: 'a halt'] on: GenericException do: [:exc | Transcript
> show:
> exc class name; cr].
>
>
> write the class name of the exception into the transcript.
> My statement that the Halt exception is not handled by a
> more general exception does not hold for VW.
>
> Greetings; Boris
>
>
Roel Wuyts Software
Composition Group
roel.wuyts at iam.unibe.ch University of Bern,
Switzerland
http://www.iam.unibe.ch/~wuyts/
Board Member of the European Smalltalk User Group: www.esug.org
More information about the Squeak-dev
mailing list
|