You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (JIRA)" <ji...@apache.org> on 2014/12/21 18:25:13 UTC
[jira] [Commented] (FC-51) Change Manager Interface to throw
unchecked exceptions
[ https://issues.apache.org/jira/browse/FC-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255225#comment-14255225 ]
Shawn McKinney commented on FC-51:
----------------------------------
This change needs to occur before the 1.0.0 release - if ever.
> Change Manager Interface to throw unchecked exceptions
> ------------------------------------------------------
>
> Key: FC-51
> URL: https://issues.apache.org/jira/browse/FC-51
> Project: FORTRESS
> Issue Type: Improvement
> Affects Versions: 1.0.0-RC39
> Reporter: Shawn McKinney
> Fix For: 1.0.0-RC40
>
>
> Currently fortress manager interface methods throw checked exceptions:
> public User addUser(User user)
> throws SecurityException;
> While this is an acceptable practice it is worth considering changing securityexception to be an unchecked exception. The advantage is (arguably) a simplified interaction pattern with the client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)