mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
21.09.2007 ed1c23f62597ba2fcf725b480289f95a55b0c1ff
opends/src/quicksetup/org/opends/quicksetup/Application.java
@@ -719,10 +719,18 @@
    }
    catch (NamingException ne)
    {
      Message errorMessage = INFO_CANNOT_CONNECT_TO_REMOTE_GENERIC.get(
          server.getHostPort(true), ne.toString(true));
      throw new ApplicationException(
          ReturnCode.CONFIGURATION_ERROR, errorMessage,
      Message msg;
      if (Utils.isCertificateException(ne))
      {
        msg = INFO_ERROR_READING_CONFIG_LDAP_CERTIFICATE_SERVER.get(
            server.getHostPort(true), ne.toString(true));
      }
      else
      {
         msg = INFO_CANNOT_CONNECT_TO_REMOTE_GENERIC.get(
             server.getHostPort(true), ne.toString(true));
      }
      throw new ApplicationException(ReturnCode.CONFIGURATION_ERROR, msg,
          ne);
    }
    return ctx;