Re: [Libxmlplusplus-general] Exception



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 think we'll be ready for a new release soon.

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





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