From 2bc8d15a28fafab97cefafede06d6b7e738ae0fe Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 11 Dec 2009 18:45:45 +0000
Subject: [PATCH] Various incremental improvements.

---
 sdk/src/org/opends/sdk/MultipleEntriesFoundException.java |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/sdk/src/org/opends/sdk/CancelledException.java b/sdk/src/org/opends/sdk/MultipleEntriesFoundException.java
similarity index 71%
copy from sdk/src/org/opends/sdk/CancelledException.java
copy to sdk/src/org/opends/sdk/MultipleEntriesFoundException.java
index 0119704..17f4f3c 100644
--- a/sdk/src/org/opends/sdk/CancelledException.java
+++ b/sdk/src/org/opends/sdk/MultipleEntriesFoundException.java
@@ -35,12 +35,17 @@
 
 /**
  * Thrown when the result code returned in a Result indicates that the
- * Request was cancelled.
+ * requested single entry search operation or read operation failed
+ * because the Directory Server returned multiple matching entries (or
+ * search references) when only a single matching entry was expected.
+ * More specifically, this exception is used for the
+ * {@link ResultCode#CLIENT_SIDE_UNEXPECTED_RESULTS_RETURNED} error
+ * result codes.
  */
 @SuppressWarnings("serial")
-public class CancelledException extends ErrorResultException
+public class MultipleEntriesFoundException extends ErrorResultException
 {
-  CancelledException(Result result)
+  MultipleEntriesFoundException(Result result)
   {
     super(result);
   }

--
Gitblit v1.10.0