directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radovan Semancik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DIRAPI-282) Detection of timeout in cursor.next()
Date Thu, 12 May 2016 14:52:12 GMT

     [ 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)

Mime
View raw message