[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapc++ exceptions



On Mon, Feb 24, 2003 at 09:23:29AM +0100, Francois Beretti wrote:
> Hello all
> 
> I'm new to ldap and I'm starting using the ldapc++ library.
> I've had a look at the code and seen a few exception classes.
Yes, until now there is only the generic LDAPException which carries the
LDAP error codes and messages. In this part the library is very similar to
the Java-API.

> Is it planned to write more such classes in order to better
> manage errors, like InvalidCredentialsException or other such
> things ?
I am not sure if there is much benefit in having different Exceptions for
differnt LDAP Errors (has pros and cons). We should discuss this on the
-devel mailing list.

-- 
Ralf Haferkamp

SuSE Linux AG                                    - The Linux Experts -
Deutschherrnstrasse 15-19                         http://www.suse.com
D-90429 Nuernberg, Germany                        Tel: +49-911-74053-0