Re: [Libxmlplusplus-general] Exception



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Samedi 16 Novembre 2002 22:52, Murray Cumming wrote:
> On Fri, 2002-11-15 at 16:29, Christophe de VIENNE wrote:
> > > > 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/
> > >mysq lcppapi/exceptions/
> >
> > I didn't know you were involved in that project :)
> > I of course agree on the std::exception base.
> > I did not look closely to the libxml errors, so I don't know if we should
> > make one or several exceptions. For now it seems to me that one would be
> > enough.
>
> We can start with one. If we discover groups/sets/categories/classes of
> errors then we can divide it later.
>
> Do you want to do this, or shall I?

I'll do something today about it. Please provide me your feedback after.
In fact I could see for now two categories of exceptions : the ones which will 
report a libxml error (parse errors for example), and the ones to report 
libxml++ internal errors (in sax parser for ex).
Do you agree with this division ?


>
> I think we'll be ready for a new release soon.

yes.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE912+MoNwgyKmVCd0RAlWeAJ41PPP1kob9Ed5WQ+Q0hPSkpVLCXwCfWzJN
0NV+pH8lHSjpLuHx/CDbVNc=
=9JA1
-----END PGP SIGNATURE-----





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