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 2011/07/05 15:22:16 UTC
[jira] [Closed] (DIRAPI-48) Improve error reporting when an
UnresolvedAddressException is thrown while connecting
[ https://issues.apache.org/jira/browse/DIRAPI-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre-Arnaud Marcelot closed DIRAPI-48.
----------------------------------------
> Improve error reporting when an UnresolvedAddressException is thrown while connecting
> -------------------------------------------------------------------------------------
>
> Key: DIRAPI-48
> URL: https://issues.apache.org/jira/browse/DIRAPI-48
> Project: Directory Client API
> Issue Type: Improvement
> Affects Versions: 1.0.0-M5
> Reporter: Pierre-Arnaud Marcelot
> Assignee: Pierre-Arnaud Marcelot
> Priority: Minor
> Fix For: 1.0.0-M6
>
>
> Improve error reporting when an UnresolvedAddressException is thrown while connecting.
> Currently the current exception is thrown:
> org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server: null
> Unfortunately the wrapped UnresolvedAddressException has no associated message, thus the 'null' value.
> This is not very helpful to the user.
> Something like this could help the user a lot more:
> org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server: Hostname 'ldap.example.com' could not be resolved.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira