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:18:16 UTC

[jira] [Created] (DIRAPI-48) Improve error reporting when an UnresolvedAddressException is thrown while connecting

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

        

[jira] [Closed] (DIRAPI-48) Improve error reporting when an UnresolvedAddressException is thrown while connecting

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Resolved] (DIRAPI-48) Improve error reporting when an UnresolvedAddressException is thrown while connecting

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRAPI-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot resolved DIRAPI-48.
------------------------------------------

    Resolution: Fixed

Fixed at revision 1143043.

http://svn.apache.org/viewvc?rev=1143043&view=rev

> 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