10 Dec
2005
10 Dec
'05
11:33 p.m.
Daryle Walker wrote:
aside from that, enough information has to be delivered to pre_exception() to undertake sensible actions which in all
[SNIP] likelihood
will require creating a separate exception class for each type of error or at least many of them.
Wouldn't make a lot of different exception types the overall error handling a lot more difficult for the average user? [TRUNCATE]
We could be like the Standard and use a hierarchy for Wave's exception types.
Agreed. That's the only way to go.
Further, we should use std::exception, and/or derived classes, as the base types.
The existing wave exceptions are already derived from std::exception. Regards Hartmut