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/EntryNotFoundException.java |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/sdk/src/org/opends/sdk/CancelledException.java b/sdk/src/org/opends/sdk/EntryNotFoundException.java
similarity index 65%
copy from sdk/src/org/opends/sdk/CancelledException.java
copy to sdk/src/org/opends/sdk/EntryNotFoundException.java
index 0119704..87493d5 100644
--- a/sdk/src/org/opends/sdk/CancelledException.java
+++ b/sdk/src/org/opends/sdk/EntryNotFoundException.java
@@ -35,12 +35,21 @@
 
 /**
  * Thrown when the result code returned in a Result indicates that the
- * Request was cancelled.
+ * Request failed because the target entry was not found by the
+ * Directory Server. More specifically, this exception is used for the
+ * following error result codes:
+ * <ul>
+ * <li>{@link ResultCode#NO_SUCH_OBJECT} - the requested operation
+ * failed because it referenced an entry that does not exist.
+ * <li>{@link ResultCode#CLIENT_SIDE_NO_RESULTS_RETURNED} - the
+ * requested single entry search operation or read operation failed
+ * because the Directory Server did not return any matching entries.
+ * </ul>
  */
 @SuppressWarnings("serial")
-public class CancelledException extends ErrorResultException
+public class EntryNotFoundException extends ErrorResultException
 {
-  CancelledException(Result result)
+  EntryNotFoundException(Result result)
   {
     super(result);
   }

--
Gitblit v1.10.0