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

Emmanuel Lecharny updated DIRSERVER-1482:
-----------------------------------------
    Component/s: code quality

> 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
>          Components: code quality
>    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 was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to