Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Jury2012-06-26 21:33:54 +0000
committerAndy Jury2012-06-26 21:33:54 +0000
commit720c03121d53cf93c4f7c671d83bc5ea6cd2a433 (patch)
tree3458008a715409a22803f3aa0b8d785f95b8a416 /plugins/org.eclipse.osee.ote.client
parentc20a1bcd7ab34a7139e56feee47b138716556945 (diff)
downloadorg.eclipse.osee-720c03121d53cf93c4f7c671d83bc5ea6cd2a433.tar.gz
org.eclipse.osee-720c03121d53cf93c4f7c671d83bc5ea6cd2a433.tar.xz
org.eclipse.osee-720c03121d53cf93c4f7c671d83bc5ea6cd2a433.zip
refinement: Change catch to Throwable.
Diffstat (limited to 'plugins/org.eclipse.osee.ote.client')
-rw-r--r--plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/ListenerNotifier.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/ListenerNotifier.java b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/ListenerNotifier.java
index 9f1f7c50f6..442e17f4b3 100644
--- a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/ListenerNotifier.java
+++ b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/ListenerNotifier.java
@@ -14,7 +14,6 @@ import java.util.concurrent.CopyOnWriteArraySet;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.logging.Level;
-
import org.eclipse.osee.connection.service.IServiceConnector;
import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.ote.service.Activator;
@@ -45,7 +44,7 @@ class ListenerNotifier {
for (ITestConnectionListener listener : testConnectionListeners) {
try {
listener.onPostConnect(event);
- } catch (Exception ex) {
+ } catch (Throwable ex) {
OseeLog.log(Activator.class, Level.SEVERE, "exception notifying listener of post connect event", ex);
}
}
@@ -58,7 +57,7 @@ class ListenerNotifier {
for (ITestConnectionListener listener : testConnectionListeners) {
try {
listener.onPreDisconnect(event);
- } catch (Exception ex) {
+ } catch (Throwable ex) {
OseeLog.log(Activator.class, Level.SEVERE, "exception notifying listener of disconnect event", ex);
}
}
@@ -72,7 +71,7 @@ class ListenerNotifier {
for (ITestConnectionListener listener : testConnectionListeners) {
try {
listener.onConnectionLost(connector);
- } catch (Exception ex) {
+ } catch (Throwable ex) {
OseeLog.log(Activator.class, Level.SEVERE, "exception notifying listener of connection error event",
ex);
}

Back to the top