From d94f6d23898f7515e969517f85b8e626667a1e02 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Fri, 19 Sep 2014 08:56:38 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1536: Rename ErrorResultException to LdapException and remove ErrorResultIOException
---
opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Condition.java | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Condition.java b/opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Condition.java
index 6eab2de..5b3675d 100644
--- a/opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Condition.java
+++ b/opendj-config/src/main/java/org/forgerock/opendj/config/conditions/Condition.java
@@ -22,6 +22,7 @@
*
*
* Copyright 2008 Sun Microsystems, Inc.
+ * Portions Copyright 2014 ForgeRock AS
*/
package org.forgerock.opendj.config.conditions;
@@ -30,7 +31,7 @@
import org.forgerock.opendj.config.client.ManagementContext;
import org.forgerock.opendj.config.server.ConfigException;
import org.forgerock.opendj.config.server.ServerManagedObject;
-import org.forgerock.opendj.ldap.ErrorResultException;
+import org.forgerock.opendj.ldap.LdapException;
/**
* An interface for evaluating conditions.
@@ -56,10 +57,10 @@
* @param managedObject
* The client managed object.
* @return Returns <code>true</code> if this condition is satisfied.
- * @throws ErrorResultException
+ * @throws LdapException
* If the condition could not be evaluated.
*/
- boolean evaluate(ManagementContext context, ManagedObject<?> managedObject) throws ErrorResultException;
+ boolean evaluate(ManagementContext context, ManagedObject<?> managedObject) throws LdapException;
/**
* Evaluates this condition against the provided server managed object.
--
Gitblit v1.10.0