directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRSERVER-1482) Many methods' signature just declare a throws Exception : this is not enough
Date Fri, 26 Aug 2011 16:26:34 GMT

     [ 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

        

Mime
View raw message