From dev-return-38130-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Sat May 21 13:16:30 2011 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 3F14D4D19 for ; Sat, 21 May 2011 13:16:30 +0000 (UTC) Received: (qmail 48958 invoked by uid 500); 21 May 2011 13:16:30 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 48909 invoked by uid 500); 21 May 2011 13:16:30 -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 48899 invoked by uid 99); 21 May 2011 13:16:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 May 2011 13:16:30 +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; Sat, 21 May 2011 13:16:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4F7C7D521E for ; Sat, 21 May 2011 13:15:47 +0000 (UTC) Date: Sat, 21 May 2011 13:15:47 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: <1380983718.33478.1305983747306.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1236214617.19094.1304440923553.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DIRSHARED-123) Root exceptions are discarded 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-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSHARED-123: ---------------------------------------- Fix Version/s: 1.0.0-M4 > Root exceptions are discarded > ----------------------------- > > Key: DIRSHARED-123 > URL: https://issues.apache.org/jira/browse/DIRSHARED-123 > Project: Directory Shared > Issue Type: Wish > Affects Versions: 1.0.0-M3 > Reporter: Gerald Turner > Priority: Trivial > Fix For: 1.0.0-M4 > > Attachments: apache-ldap-api-add-causes-to-exceptions.patch > > > Last week I burnt many hours trying to debug why LdapNetworkConnection bind was failing. Eventually after getting LDAP client API and Apache Mina in a debugger I found the SocketException stored in a Future object which is discarded by the LDAP client API. Later I was working on LDAP search, my filter had a syntax error but all I would get is the exception message "The filter is invalid" when it turns out the internal FilterParser has a more elaborate exception message which is discarded. > Personally I prefer exceptions that keep their root causes intact as that saves a lot of time and yields some insight into the underlying system. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira