Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67D45C037 for ; Sun, 21 Dec 2014 17:25:13 +0000 (UTC) Received: (qmail 55370 invoked by uid 500); 21 Dec 2014 17:25:13 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 55312 invoked by uid 500); 21 Dec 2014 17:25:13 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 55301 invoked by uid 99); 21 Dec 2014 17:25:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Dec 2014 17:25:13 +0000 Date: Sun, 21 Dec 2014 17:25:13 +0000 (UTC) From: "Shawn McKinney (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FC-51) Change Manager Interface to throw unchecked exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)