Re: [Libxmlplusplus-general] Exception



On Fri, 2002-11-15 at 16:03, Christophe de VIENNE wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Murray,
> 
> Don't you think we should add an exception to report the parse errors instead 
> of a simple bool ?

Yes. It should be based on std::exception. For instance:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mysqlcppapi/mysqlcppapi/mysqlcppapi/exceptions/

> This would give much more information,
>  and if the user really don't want of 
> them, we can simply add a  bool _use_exception; attribute to the parser 
> class. 

I would prefer that it wasn't optional.

-- 
Murray Cumming
murray usa net
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]