From 1f3592b4ab0a329ed8e54e311b89d2bca68efb81 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 21 Sep 2007 00:49:05 +0000
Subject: [PATCH] Update a number of result codes to make the values more consistent across operations.  Also, eliminate a number of incorrect uses of the OPERATIONS_ERROR result and replace them with the more correct OTHER result.

---
 opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java b/opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java
index 0919530..e06a82c 100644
--- a/opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java
+++ b/opends/src/server/org/opends/server/tools/dsconfig/PropertyValueEditor.java
@@ -137,12 +137,12 @@
           Message pufn = path.getManagedObjectDefinition()
               .getUserFriendlyName();
           Message msg = ERR_DSCFG_ERROR_GET_PARENT_DDE.get(pufn, pufn, pufn);
-          throw new ClientException(LDAPResultCode.OPERATIONS_ERROR, msg);
+          throw new ClientException(LDAPResultCode.OTHER, msg);
         } catch (ManagedObjectDecodingException e) {
           Message pufn = path.getManagedObjectDefinition()
               .getUserFriendlyName();
           Message msg = ERR_DSCFG_ERROR_GET_PARENT_MODE.get(pufn);
-          throw new ClientException(LDAPResultCode.OPERATIONS_ERROR, msg, e);
+          throw new ClientException(LDAPResultCode.OTHER, msg, e);
         } catch (CommunicationException e) {
           Message msg = ERR_DSCFG_ERROR_CREATE_CE.get(ufn, e.getMessage());
           throw new ClientException(LDAPResultCode.CLIENT_SIDE_SERVER_DOWN,

--
Gitblit v1.10.0