Exception handling question

Boris Gaertner Boris.Gaertner at gmx.net
Sun Aug 3 08:43:38 UTC 2003


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



More information about the Squeak-dev mailing list