[
https://issues.apache.org/jira/browse/DIRAPI-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radovan Semancik closed DIRAPI-282.
-----------------------------------
Resolution: Fixed
> Detection of timeout in cursor.next()
> -------------------------------------
>
> Key: DIRAPI-282
> URL: https://issues.apache.org/jira/browse/DIRAPI-282
> Project: Directory Client API
> Issue Type: Improvement
> Reporter: Radovan Semancik
> Fix For: 1.0.0-M34
>
>
> Connection timeout may be detected while calling cursor.netx(). However the
> code throws plain LdapException in that case. There is no reliable way how to
> detect that the error was really a timeout and reconnect.
> Fix: create new exception for timeout and throw that instead of LdapException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)