directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Constructors and Exceptions
Date Mon, 14 Feb 2011 17:51:54 GMT
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


Mime
View raw message