Re: [Libxmlplusplus-general] Exception
- From: murrayc t-online de (Murray Cumming)
- To: libxml++ <libxmlplusplus-general lists sourceforge net>
- Subject: Re: [Libxmlplusplus-general] Exception
- Date: 15 Nov 2002 16:05:58 +0100
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]