directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1482) Many methods' signature just declare a throws Exception : this is not enough
Date Wed, 17 Mar 2010 15:14:27 GMT
Many methods' signature just declare a throws Exception : this is not enough
----------------------------------------------------------------------------

                 Key: DIRSERVER-1482
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1482
             Project: Directory ApacheDS
          Issue Type: Task
    Affects Versions: 1.5.6
            Reporter: Emmanuel Lecharny
            Priority: Critical
             Fix For: 2.0.0-RC1


We have many methods in the server API which just throws Exception, without any indication
about the kind of exception that can be thrown. This is dangerous, and not enough if we want
to know what to do when an exception occurs.

We must through specific exception up the stack.

For instance, the Store interface, the Table interface, etc are just throwing Exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message