directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRSHARED-123) Root exceptions are discarded
Date Sat, 21 May 2011 13:15:47 GMT

     [ 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

Mime
View raw message