You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2011/05/23 10:35:47 UTC

[jira] [Resolved] (DIRSHARED-123) Root exceptions are discarded

     [ https://issues.apache.org/jira/browse/DIRSHARED-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSHARED-123.
-----------------------------------------

    Resolution: Fixed

Fixed with http://svn.apache.org/viewvc?rev=1126274&view=rev


Thanks for the patch !

> 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