From f2160f4bd1c8ac67e5a86a6710d431e8932877f9 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 28 May 2010 11:47:51 +0000
Subject: [PATCH] Synchronize SDK on java.net with internal repository.

---
 sdk/src/org/opends/sdk/AssertionFailureException.java |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java b/sdk/src/org/opends/sdk/AssertionFailureException.java
similarity index 61%
copy from sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java
copy to sdk/src/org/opends/sdk/AssertionFailureException.java
index 62b3ae3..32c5432 100644
--- a/sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java
+++ b/sdk/src/org/opends/sdk/AssertionFailureException.java
@@ -22,21 +22,28 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2009 Sun Microsystems, Inc.
+ *      Copyright 2010 Sun Microsystems, Inc.
  */
 
-package org.opends.sdk.sasl;
+package org.opends.sdk;
 
 
 
-import javax.security.auth.callback.PasswordCallback;
+import org.opends.sdk.responses.Result;
 
 
 
 /**
- * Password call-back.
+ * Thrown when the result code returned in a Result indicates that the Request
+ * failed because the filter contained in an assertion control failed to match
+ * the target entry. More specifically, this exception is used for the
+ * {@link ResultCode#ASSERTION_FAILED ASSERTION_FAILED} result code.
  */
-public interface PasswordCallbackHandler
+@SuppressWarnings("serial")
+public class AssertionFailureException extends ErrorResultException
 {
-  public boolean handle(PasswordCallback callback);
+  AssertionFailureException(final Result result)
+  {
+    super(result);
+  }
 }

--
Gitblit v1.10.0