Re: Common exception handling



On Tue, 26 Aug 2008 13:22:03 -0700 (PDT), Maciej Sobczak wrote:

On 26 Sie, 21:14, "Dmitry A. Kazakov" <mail...@xxxxxxxxxxxxxxxxx>
wrote:

I wished to have ranges of exceptions

Hierarchies, not ranges.

Yes, but it is still a range, technically, a bounded set. The problem is
that this set can be infinite. Such structure of an ordered set have real
numbers, strings, and, of course, type hierarchies.

The difference is that entities in the hierarchy can be not only
extended but also specialized and that would nicely fit in the OO part
of the language.

Extension = specialization in classic OO (and Ada). When a type is extended
by adding new members and/or methods it is a specialization of the class
rooted in the derivation base.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.