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

Violette Roche-Montane
24.07.2014 fe9d45d7f26b89b9fb2b87011e1656d4feecf551
opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java
@@ -474,13 +474,13 @@
      try {
        values.addAll(Arrays.asList(context.listManagedObjects(path, rd)));
      } catch (AuthorizationException e) {
        this.e = new ClientException(ReturnCode.TODO, LocalizableMessage.raw(e.getMessage()));
        this.e = new ClientException(ReturnCode.CLIENT_SIDE_PARAM_ERROR, LocalizableMessage.raw(e.getMessage()));
        return MenuResult.quit();
      } catch (ManagedObjectNotFoundException e) {
        this.e = new ClientException(ReturnCode.TODO, e.getMessageObject());
        this.e = new ClientException(ReturnCode.NO_SUCH_OBJECT, e.getMessageObject());
        return MenuResult.cancel();
      } catch (ErrorResultException e) {
        this.e = new ClientException(ReturnCode.TODO, LocalizableMessage.raw(e.getMessage()));
        this.e = new ClientException(ReturnCode.APPLICATION_ERROR, LocalizableMessage.raw(e.getMessage()));
        return MenuResult.quit();
      }
@@ -735,13 +735,13 @@
        try {
          values.addAll(Arrays.asList(context.listManagedObjects(path, rd)));
        } catch (AuthorizationException e) {
          this.e = new ClientException(ReturnCode.TODO, LocalizableMessage.raw(e.getMessage()));
          this.e = new ClientException(ReturnCode.CLIENT_SIDE_PARAM_ERROR, LocalizableMessage.raw(e.getMessage()));
          return MenuResult.quit();
        } catch (ManagedObjectNotFoundException e) {
          this.e = new ClientException(ReturnCode.TODO, e.getMessageObject());
          this.e = new ClientException(ReturnCode.NO_SUCH_OBJECT, e.getMessageObject());
          return MenuResult.cancel();
        } catch (ErrorResultException e) {
          this.e = new ClientException(ReturnCode.TODO, LocalizableMessage.raw(e.getMessage()));
          this.e = new ClientException(ReturnCode.APPLICATION_ERROR, LocalizableMessage.raw(e.getMessage()));
          return MenuResult.quit();
        }
@@ -1628,13 +1628,13 @@
      try {
        values.addAll(Arrays.asList(context.listManagedObjects(path, rd)));
      } catch (AuthorizationException e) {
        this.e = new ClientException(ReturnCode.TODO, LocalizableMessage.raw(e.getMessage()));
        this.e = new ClientException(ReturnCode.CLIENT_SIDE_PARAM_ERROR, LocalizableMessage.raw(e.getMessage()));
        return MenuResult.quit();
      } catch (ManagedObjectNotFoundException e) {
        this.e = new ClientException(ReturnCode.TODO, e.getMessageObject());
        this.e = new ClientException(ReturnCode.NO_SUCH_OBJECT, e.getMessageObject());
        return MenuResult.cancel();
      } catch (ErrorResultException e) {
        this.e = new ClientException(ReturnCode.TODO, LocalizableMessage.raw(e.getMessage()));
        this.e = new ClientException(ReturnCode.APPLICATION_ERROR, LocalizableMessage.raw(e.getMessage()));
        return MenuResult.quit();
      }