directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Resolved] (DIRSHARED-123) Root exceptions are discarded
Date Mon, 23 May 2011 08:35:47 GMT


Emmanuel Lecharny resolved DIRSHARED-123.

    Resolution: Fixed

Fixed with

Thanks for the patch !

> Root exceptions are discarded
> -----------------------------
>                 Key: DIRSHARED-123
>                 URL:
>             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:

View raw message