Hi,

i was studying the exceptions, and regarding DN, I think we could be a bit more specific. Right now, we are just throwing a LdapInvalidDnException, when we could have more than one kind of error :
- The normalization could fail
- The DN could be invalid
- An operation (add, etc) could be invalid

What abbot defining a DnException root, and three different exceptions like :
- DnNormalizationException
- DnParsingException
- DnOperationException
 all of them extending the DnException.

Does it make sense to you ?

--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com


Reply via email to