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

jcduff
23.04.2008 f73b655466092169abac34833fb628fce1fcdebe
opends/src/server/org/opends/server/tools/dsconfig/CreateSubCommandHandler.java
@@ -739,22 +739,19 @@
        Message msg = INFO_DSCFG_CONFIRM_CREATE_SUCCESS.get(ufn);
        app.printVerboseMessage(msg);
        for (PropertyEditorModification mod : editor.getModifications())
        {
          try
          {
            Argument arg = createArgument(mod);
            handler.getCommandBuilder().addArgument(arg);
        if (handler != null) {
          for (PropertyEditorModification mod : editor.getModifications()) {
            try {
              Argument arg = createArgument(mod);
              handler.getCommandBuilder().addArgument(arg);
            } catch (ArgumentException ae) {
              // This is a bug
              throw new RuntimeException(
                "Unexpected error generating the command builder: " + ae, ae);
            }
          }
          catch (ArgumentException ae)
          {
            // This is a bug
            throw new RuntimeException(
                "Unexpected error generating the command builder: "+ae, ae);
          }
          handler.setCommandBuilderUseful(true);
        }
        handler.setCommandBuilderUseful(true);
        return MenuResult.success();
      } catch (MissingMandatoryPropertiesException e) {
        if (app.isInteractive()) {