Hi Emmanuel, I think it makes perfectly sense in the particular case of a DN.
Regards, Pierre-Arnaud On lundi 14 février 2011 at 18:51, Emmanuel Lecharny wrote: > Hi guys, > > this is not the first time this question hits the mailing list, but I > don't think we have stated something definitive in this area. > > Is having a constructor throwing a checked exception a code smell ? > > Something like : > public Dn(String) throws LdapInvalidDnException > > is acceptable, or should it throw an unchecked exception ? > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com >