From 35a408038c1de64a6f13f0e7b246a645e9945e3c Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Tue, 18 Mar 2008 22:44:58 +0000
Subject: [PATCH] With this refactoring:

---
 opends/src/server/org/opends/server/core/Workflow.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/Workflow.java b/opends/src/server/org/opends/server/core/Workflow.java
index 6e7efcb..ef6f431 100644
--- a/opends/src/server/org/opends/server/core/Workflow.java
+++ b/opends/src/server/org/opends/server/core/Workflow.java
@@ -29,6 +29,7 @@
 
 import org.opends.server.types.DN;
 import org.opends.server.types.Operation;
+import org.opends.server.types.CanceledOperationException;
 
 
 /**
@@ -68,6 +69,10 @@
    * operation.
    *
    * @param operation  the operation to execute
+   *
+   * @throws CanceledOperationException if this operation should
+   * be cancelled.
    */
-  public void execute(Operation operation);
+  public void execute(Operation operation)
+      throws CanceledOperationException;
 }

--
Gitblit v1.10.0