From 89debdc4f4f38e0d973c9f4f37e1c34002deeeb4 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 22 May 2007 14:35:47 +0000
Subject: [PATCH] Various improvements and refactorings of the admin framework client API, including:
---
opendj-sdk/opends/src/server/org/opends/server/admin/ConfigurationClient.java | 25 ++++++++++++++++++++-----
1 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/admin/ConfigurationClient.java b/opendj-sdk/opends/src/server/org/opends/server/admin/ConfigurationClient.java
index f84e67b..b5e5ba5 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/admin/ConfigurationClient.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/admin/ConfigurationClient.java
@@ -27,6 +27,11 @@
package org.opends.server.admin;
+import org.opends.server.admin.client.AuthorizationException;
+import org.opends.server.admin.client.CommunicationException;
+import org.opends.server.admin.client.ConcurrentModificationException;
+import org.opends.server.admin.client.OperationRejectedException;
+
/**
@@ -59,11 +64,21 @@
/**
* Commit any changes made to this configuration client.
*
- * @throws OperationsException
- * If the changes to this configuration client could not
- * be committed due to some underlying communication
- * problem.
+ * @throws ConcurrentModificationException
+ * If this configuration has been removed from the server
+ * by another client.
+ * @throws OperationRejectedException
+ * If the server refuses to apply the changes due to some
+ * server-side constraint which cannot be satisfied.
+ * @throws AuthorizationException
+ * If the server refuses to apply the changes because the
+ * client does not have the correct privileges.
+ * @throws CommunicationException
+ * If the client cannot contact the server due to an
+ * underlying communication problem.
*/
- void commit() throws OperationsException;
+ void commit() throws ConcurrentModificationException,
+ OperationRejectedException, AuthorizationException,
+ CommunicationException;
}
--
Gitblit v1.10.0