From abcb169a28a9c3dab2975fb3417327840163bf61 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.
---
opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java b/opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java
index 219edd4..1dbbb2c 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/browser/NodeRefresher.java
+++ b/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