directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn McKinney (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FC-51) Change Manager Interface to throw unchecked exceptions
Date Sun, 21 Dec 2014 17:21:14 GMT
Shawn McKinney created FC-51:
--------------------------------

             Summary: 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)

Mime
View raw message