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] [Created] (DIRAPI-282) Detection of timeout in cursor.next()
Date Thu, 12 May 2016 14:52:12 GMT
Radovan Semancik created DIRAPI-282:
---------------------------------------

             Summary: 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