From 1734229125e7bad5f85dfe11d076eeda206236a9 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Mon, 18 Oct 2010 19:41:47 +0000
Subject: [PATCH] Update from OpenDS sdk by Bo Li: Added unmodifiable and copyOf request factories. Added authrate performance utility.

---
 sdk/src/org/opends/sdk/requests/AnonymousSASLBindRequest.java |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sdk/src/org/opends/sdk/requests/AnonymousSASLBindRequest.java b/sdk/src/org/opends/sdk/requests/AnonymousSASLBindRequest.java
index 5cc54a6..122ae18 100644
--- a/sdk/src/org/opends/sdk/requests/AnonymousSASLBindRequest.java
+++ b/sdk/src/org/opends/sdk/requests/AnonymousSASLBindRequest.java
@@ -33,6 +33,7 @@
 
 import org.opends.sdk.DecodeException;
 import org.opends.sdk.DecodeOptions;
+import org.opends.sdk.ErrorResultException;
 import org.opends.sdk.controls.Control;
 import org.opends.sdk.controls.ControlDecoder;
 
@@ -78,7 +79,7 @@
   /**
    * {@inheritDoc}
    */
-  BindClient createBindClient(String serverName);
+  BindClient createBindClient(String serverName) throws ErrorResultException;
 
 
 
@@ -143,9 +144,12 @@
    *          The trace information, which has no semantic value, and can be
    *          used by administrators in order to identify the user.
    * @return This bind request.
+   * @throws UnsupportedOperationException
+   *           If this anonymous SASL request does not permit the trace
+   *           information to be set.
    * @throws NullPointerException
    *           If {@code traceString} was {@code null}.
    */
   AnonymousSASLBindRequest setTraceString(String traceString)
-      throws NullPointerException;
+      throws UnsupportedOperationException, NullPointerException;
 }

--
Gitblit v1.10.0