directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Turner (JIRA)" <>
Subject [jira] [Created] (DIRSHARED-123) Root exceptions are discarded
Date Tue, 03 May 2011 16:42:03 GMT
Root exceptions are discarded

                 Key: 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:

View raw message