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

Nicolas Capponi
13.41.2016 e64015fff32142b8da831329d392fe3f2c79b857
opendj-server-legacy/src/main/java/org/opends/server/util/cli/LDAPConnectionArgumentParser.java
@@ -260,13 +260,15 @@
   * @param err
   *          stream to write error messages
   * @return LDAPConnection created by this class from parsed arguments
   * @throws SSLConnectionException
   *           if there was a problem connecting with SSL to the server
   * @throws LDAPConnectionException
   *           if there was a problem connecting to the server
   *           if there was any other problem connecting to the server
   * @throws ArgumentException
   *           if there was a problem indicated by the input arguments
   */
  public LDAPConnection connect(LDAPConnectionConsoleInteraction ui, PrintStream out, PrintStream err)
      throws LDAPConnectionException, ArgumentException
      throws LDAPConnectionException, SSLConnectionException, ArgumentException
  {
    try
    {
@@ -280,7 +282,7 @@
    {
      err.println(isSSLException(e) ?
          ERR_TASKINFO_LDAP_EXCEPTION_SSL.get(ui.getHostName(), ui.getPortNumber()) : e.getMessageObject());
      return null;
      throw e;
    }
  }