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

Jean-Noel Rouvignac
18.52.2015 58e42cdaa28e32c1225deda4cfeab261d7156496
opendj-server-legacy/src/main/java/org/opends/server/tools/status/StatusCli.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2007-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2011-2014 ForgeRock AS
 *      Portions Copyright 2011-2015 ForgeRock AS
 */
package org.opends.server.tools.status;
@@ -324,10 +324,7 @@
          controlInfo.setTrustManager(interactiveTrustManager);
          useInteractiveTrustManager = true;
        }
      } catch (ArgumentException e) {
        println(e.getMessageObject());
        return ReturnCode.CLIENT_SIDE_PARAM_ERROR.get();
      } catch (ClientException e) {
      } catch (ArgumentException | ClientException e) {
        println(e.getMessageObject());
        return ReturnCode.CLIENT_SIDE_PARAM_ERROR.get();
      } finally {
@@ -1241,4 +1238,4 @@
    return LDAPManagementContext.newManagementContext(connection, LDAPProfile.getInstance());
  }
}
}