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/CancelledResultException.java | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/sdk/src/org/opends/sdk/CancelledException.java b/sdk/src/org/opends/sdk/CancelledResultException.java
similarity index 73%
rename from sdk/src/org/opends/sdk/CancelledException.java
rename to sdk/src/org/opends/sdk/CancelledResultException.java
index 0119704..5c4f80c 100644
--- a/sdk/src/org/opends/sdk/CancelledException.java
+++ b/sdk/src/org/opends/sdk/CancelledResultException.java
@@ -35,12 +35,19 @@
/**
* Thrown when the result code returned in a Result indicates that the
- * Request was cancelled.
+ * Request was cancelled. More specifically, this exception is used for
+ * the following error result codes:
+ * <ul>
+ * <li>{@link ResultCode#CANCELLED} - the requested operation was
+ * cancelled.
+ * <li>{@link ResultCode#CLIENT_SIDE_USER_CANCELLED} - the requested
+ * operation was cancelled by the user.
+ * </ul>
*/
@SuppressWarnings("serial")
-public class CancelledException extends ErrorResultException
+public class CancelledResultException extends ErrorResultException
{
- CancelledException(Result result)
+ CancelledResultException(Result result)
{
super(result);
}
--
Gitblit v1.10.0