From 2a4afbea87de9adf3af4f4d4660f56902c5efa49 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 19 Oct 2009 19:38:09 +0000
Subject: [PATCH] In some cases it appears that interrupting the thread that is executing a search does not throw a NamingInterruptedException but a CommunicationException generated by an InterruptedIOException.  The following modifications fix this.

---
 opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java
index 219edd4..1dbbb2c 100644
--- a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java
@@ -500,14 +500,14 @@
         }
         throwAbandonIfNeeded(null);
       }
-      catch(InterruptedNamingException x) {
+      catch (InterruptedNamingException x) {
         throwAbandonIfNeeded(x);
       }
-      catch(NamingException x) {
+      catch (NamingException x) {
         lastException = x;
         lastExceptionArg = referral[i];
       }
-      catch(DirectoryException de) {
+      catch (DirectoryException de) {
         lastException = de;
         lastExceptionArg = referral[i];
       }

--
Gitblit v1.10.0