Re: About exceptions

2010-03-14 Thread Emmanuel Lecharny
On 3/14/10 10:56 AM, Kiran Ayyagari wrote: from the recent experience of migrating test cases to client-api have observed that unlike jndi we return result codes and I liked this (the jndi exceptions rather give me a feeling like 'use exceptions for control flow', which is considered as a bad

About exceptions

2010-03-12 Thread Emmanuel Lecharny
Hi, it's about time to talk about exceptions, as many methods will throw an exception, and it would be good to know what to throw ! We should first have a base exception, and I suggest using LdapException. Evey other exception will inherit this one. The second point is that the LDAP