Catch any exception from a discovery agent so it doesn't kill the Remote Connections view
--- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/RemoteConnectionsActivator.java Mon Jan 11 10:07:03 2010 -0600
+++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/RemoteConnectionsActivator.java Tue Jan 12 09:37:50 2010 -0600
@@ -132,7 +132,8 @@
try {
((IDeviceDiscoveryAgent) toTest).start();
return true;
- } catch (CoreException e) {
+ } catch (Throwable e) {
+ // since we launch arbitrary code, catch any exception to prevent killing the view
logError(e);
}
}