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 B384929C7 for ; Tue, 3 May 2011 16:42:43 +0000 (UTC) Received: (qmail 37235 invoked by uid 500); 3 May 2011 16:42:43 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 37184 invoked by uid 500); 3 May 2011 16:42:42 -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 37177 invoked by uid 99); 3 May 2011 16:42:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 16:42:42 +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; Tue, 03 May 2011 16:42:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 87E47BF8FF for ; Tue, 3 May 2011 16:42:03 +0000 (UTC) Date: Tue, 3 May 2011 16:42:03 +0000 (UTC) From: "Gerald Turner (JIRA)" To: dev@directory.apache.org Message-ID: <1236214617.19094.1304440923553.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 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 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