You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2013/06/10 12:01:21 UTC
[jira] [Commented] (DIRAPI-145) LdapNetworkConnection should throw
specific exception when time limit exceeded
[ https://issues.apache.org/jira/browse/DIRAPI-145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679410#comment-13679410 ]
Pierre-Arnaud Marcelot commented on DIRAPI-145:
-----------------------------------------------
LdapTimeOutException sounds like a very good idea.
+1 for that.
> 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