You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/03/17 16:14:27 UTC

[jira] Created: (DIRSERVER-1482) Many methods' signature just declare a throws Exception : this is not enough

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.