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 B1ADB2EC4 for ; Thu, 5 May 2011 07:45:28 +0000 (UTC) Received: (qmail 26724 invoked by uid 500); 5 May 2011 07:45:28 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 26555 invoked by uid 500); 5 May 2011 07:45:27 -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 26292 invoked by uid 99); 5 May 2011 07:45:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 07:45:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 07:45:24 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D2A65C2829 for ; Thu, 5 May 2011 07:44:04 +0000 (UTC) Date: Thu, 5 May 2011 07:44:04 +0000 (UTC) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Message-ID: <1299345761.24061.1304581444859.JavaMail.tomcat@hel.zones.apache.org> 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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSHARED-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Arnaud Marcelot updated DIRSHARED-76: -------------------------------------------- Fix Version/s: (was: 1.0.0-M3) 1.0.0-M4 > 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-M4 > > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira