From ee42e113dfd8736f397343d6dd0d9c94e201751a Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Wed, 25 Apr 2012 11:50:45 +0000
Subject: [PATCH] Align with r7919 (Fix for OPENDJ-474: Remove requirement for clients to deal with InterruptedExceptions in synchronous APIs)

---
 opendj3/src/main/docbkx/dev-guide/chap-authenticating.xml |   12 ------------
 opendj3/src/main/docbkx/dev-guide/chap-reading.xml        |    4 ----
 2 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/opendj3/src/main/docbkx/dev-guide/chap-authenticating.xml b/opendj3/src/main/docbkx/dev-guide/chap-authenticating.xml
index 7c7cef9..94f4f41 100644
--- a/opendj3/src/main/docbkx/dev-guide/chap-authenticating.xml
+++ b/opendj3/src/main/docbkx/dev-guide/chap-authenticating.xml
@@ -89,12 +89,6 @@
     System.exit(e.getResult().getResultCode().intValue());
     return;
   }
-  catch (final InterruptedException e)
-  {
-    System.err.println(e.getMessage());
-    System.exit(ResultCode.CLIENT_SIDE_USER_CANCELLED.intValue());
-    return;
-  }
   finally
   {
     if (connection != null) connection.close();
@@ -171,12 +165,6 @@
     System.exit(e.getResult().getResultCode().intValue());
     return;
   }
-  catch (final InterruptedException e)
-  {
-    System.err.println(e.getMessage());
-    System.exit(ResultCode.CLIENT_SIDE_USER_CANCELLED.intValue());
-    return;
-  }
   catch (final GeneralSecurityException e)
   {
     System.err.println(e.getMessage());
diff --git a/opendj3/src/main/docbkx/dev-guide/chap-reading.xml b/opendj3/src/main/docbkx/dev-guide/chap-reading.xml
index 6283f4e..4fa1764 100644
--- a/opendj3/src/main/docbkx/dev-guide/chap-reading.xml
+++ b/opendj3/src/main/docbkx/dev-guide/chap-reading.xml
@@ -135,10 +135,6 @@
     System.err.println("Failed to bind.");
     System.exit(e.getResult().getResultCode().intValue());
     return;
-} catch (final InterruptedException e) {
-    System.err.println(e.getMessage());
-    System.exit(ResultCode.CLIENT_SIDE_USER_CANCELLED.intValue());
-    return;
 } finally {
     if (connection != null) {
         connection.close();

--
Gitblit v1.10.0