In article <3b7cdda9$1_1@dnews>, ✉satserv.nl says...
> Basically, my conclusion is that you *can* use exceptions > to do nearly anything if you just specify your functions > accordingly.
Yes, mostly. Exceptions should be used to report exceptional behavior. What's exceptional is indeed specified by the designer of the function. But like any good design, this specification is in turn driven by the needs and usage pattern of its clients. Most arbitrary exception specifications will be useless and therefore bad designs. When more than one usage pattern is common, more than one exception specification will be needed.