exception handling, differences from ANSI

Vassili Bykov vassili at objectpeople.com
Wed Mar 3 22:50:35 UTC 1999


On the plus side of having a class for each exception situation, the
information relevant to the situation does not have to be passed around as a
single amorphous "parameter".  The Exception subclass can have as many
instance variables to properly describe the situation as needed.  Better
yet, it can also include the error analysis and recovery methods specific to
the situation.  Quite in the "everything is an object" style.

--Vassili





More information about the Squeak-dev mailing list