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/protocols/jmx/JmxConnectionHandler.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/protocols/jmx/JmxConnectionHandler.java b/opends/src/server/org/opends/server/protocols/jmx/JmxConnectionHandler.java
index 8b54232..e2f2ffe 100644
--- a/opends/src/server/org/opends/server/protocols/jmx/JmxConnectionHandler.java
+++ b/opends/src/server/org/opends/server/protocols/jmx/JmxConnectionHandler.java
@@ -164,7 +164,7 @@
}
catch (RuntimeException e)
{
- resultCode = ResultCode.OPERATIONS_ERROR;
+ resultCode = DirectoryServer.getServerErrorResultCode();
messages.add(Message.raw(e.getMessage()));
}
}
--
Gitblit v1.10.0