Just one clarification below:
Glad to see you're lurking ...On Jan 16, 2008 8:38 AM, Ersin Er <firstname.lastname@example.org> wrote:Hi,
I think Spring approach is here is nice. They have their own unchecked
exception hierarchy and adapters for different data stores convert
specific exceptions to one of the exceptions in Spring's hierarchy.
This is a very interesting idea. I'm just wondering what impact this would have on higher levels wrt exception handling. If using unchecked exceptions are the preferred way then why would anyone bother having their API throw checked exceptions?
can define a simple LDAP related data store exception hierarchy and
expect all partition implementations to obey it.
I guess by making all exceptions unchecked it makes exception raising and handling by API interface implementors and implementation users to be based on a looser contract.