Boost logo

Boost Users :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2005-12-10 18:33:49


 
Daryle Walker wrote:

> [SNIP]
> >> aside from that, enough information has to be delivered to
> >> pre_exception() to undertake sensible actions which in all
> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net