exception handling, differences from ANSI

Craig Latta Craig.Latta at NetJam.ORG
Wed Mar 3 22:07:26 UTC 1999


> The only thing that ANSI actually requires is that there are a
> couple of globals (e.g., MessageNotUnderstood, ZeroDivide)
> that respond to the right kind of messages. Whether these are
> instances of a single class or actual classes is irrelevant.

	Perhaps I was reading too much into it. I have draft 1.1, which says in section 8.5.7: "Exception is an abstract class. There are very few if any other abstract classes required by the standard. This class is needed so that new types of exceptions can be created within its subclass hierarchy."

	That was how Digitalk did it, which I assume was the inspiration for the ANSI exception-handling framework.


-C


--
Craig Latta
composer and computer scientist
craig.latta at netjam.org
www.netjam.org
latta at interval.com
Smalltalkers do: [:it | All with: Class, (And love: it)]





More information about the Squeak-dev mailing list