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

jvergara
09.57.2009 7202af24c668dba3f56c85a178bbe57c69d15691
opends/src/server/org/opends/server/util/cli/ConsoleApplication.java
@@ -654,20 +654,10 @@
   * contacting when the NamingException occurred.
   * @return a message object for the given NamingException.
   */
  protected Message getMessageForException(NamingException ne, String hostPort)
  protected Message getMessageForException(NamingException ne,
      String hostPort)
  {
    Message msg;
    if (Utils.isCertificateException(ne))
    {
      msg = INFO_ERROR_READING_CONFIG_LDAP_CERTIFICATE_SERVER.get(
              hostPort, ne.toString(true));
    }
    else
    {
       msg = INFO_CANNOT_CONNECT_TO_REMOTE_GENERIC.get(
          hostPort, ne.toString(true));
    }
    return msg;
    return Utils.getMessageForException(ne, hostPort);
  }
  /**