From: Warren Young Date: July 6 2005 5:37pm Subject: Re: exception hierarchy List-Archive: http://lists.mysql.com/plusplus/4599 Message-Id: <42CC16E0.8060806@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Chris Frey wrote: > class BadFieldName : public mysqlpp::Exception, > public std::runtime_error You can avoid an inheritance diamond in that if Exception doesn't derive from std::exception, which it does now. > I just don't know if grouping mysql++ exceptions is really that useful > in practice True, but this offers two ways to group them: as runtime vs. logic exceptions, and as MySQL++ exceptions vs. everything else. I've already argued in favor of the latter. The question is whether the former is also useful.