You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2011/08/26 18:26:34 UTC

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

     [ https://issues.apache.org/jira/browse/DIRSERVER-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRSERVER-1482:
----------------------------------------------

    Fix Version/s:     (was: 2.0.0-M2)
                   2.0.0-M3

> 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-M3
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira