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 DBE22DBF0 for ; Thu, 4 Oct 2012 00:51:09 +0000 (UTC) Received: (qmail 91234 invoked by uid 500); 4 Oct 2012 00:51:08 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 91167 invoked by uid 500); 4 Oct 2012 00:51:08 -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 91085 invoked by uid 99); 4 Oct 2012 00:51:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 00:51:08 +0000 Date: Thu, 4 Oct 2012 11:51:08 +1100 (NCT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: <1906611192.163144.1349311868546.JavaMail.jiratomcat@arcas> In-Reply-To: <24988523.255341294676088681.JavaMail.jira@thor> Subject: [jira] [Updated] (DIRSHARED-76) Review the API to have the method trhow meaningful 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/DIRSHARED-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-76: --------------------------------------- Fix Version/s: (was: 1.0.0-M12) 1.0.0-M13 > Review the API to have the method trhow meaningful exceptions > ------------------------------------------------------------- > > Key: DIRSHARED-76 > URL: https://issues.apache.org/jira/browse/DIRSHARED-76 > Project: Directory Shared > Issue Type: Improvement > Affects Versions: 0.9.19 > Reporter: Emmanuel Lecharny > Priority: Critical > Fix For: 1.0.0-M13 > > > Right now, many of the Entry/Value methods don't throw any exception, except unchecked exceptions (InvalidArgumentException or NPE). > We should have them throw a LdapException instead. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira