directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject DN and Exceptions
Date Thu, 18 Mar 2010 11:13:27 GMT

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 ?

Emmanuel L├ęcharny

View raw message