directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DIRAPI-48) Improve error reporting when an UnresolvedAddressException is thrown while connecting
Date Tue, 05 Jul 2011 13:22:16 GMT

     [ 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

        

Mime
View raw message