Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C95D845AE for ; Tue, 5 Jul 2011 13:18:41 +0000 (UTC) Received: (qmail 9958 invoked by uid 500); 5 Jul 2011 13:18:41 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 9791 invoked by uid 500); 5 Jul 2011 13:18:40 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 9783 invoked by uid 99); 5 Jul 2011 13:18:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 13:18:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 13:18:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9089E43866 for ; Tue, 5 Jul 2011 13:18:16 +0000 (UTC) Date: Tue, 5 Jul 2011 13:18:16 +0000 (UTC) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Message-ID: <312322405.571.1309871896588.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (DIRAPI-48) Improve error reporting when an UnresolvedAddressException is thrown while connecting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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