[
https://issues.apache.org/jira/browse/DIRAPI-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRAPI-145.
--------------------------------------
Resolution: Invalid
This is intentional : the LdapTimeLimitExceededException is only used for
searchRequest that extends beyond the TimeLimit set on the client
SearchRequest, or if it exceeds the server TimeLimit for a search.
Now, we may want to throw a dedicated LdapTimeOutException...
> LdapNetworkConnection should throw specific exception when time limit exceeded
> ------------------------------------------------------------------------------
>
> Key: DIRAPI-145
> URL: https://issues.apache.org/jira/browse/DIRAPI-145
> Project: Directory Client API
> Issue Type: Bug
> Reporter: Ernie Kovak
>
> LdapNetworkConnection should throw LdapTimeLimitExceededException, but
> instead throws generic LdapException. See lines 774, 800. That limits client
> flexibility to work around potentially non-fatal exceptions.
> Does the same apply for LdapSizeLimitExceededException?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira