Changeset 5826 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/SlaveItem.cs
- Timestamp:
- 03/24/11 16:15:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/SlaveItem.cs
r5795 r5826 62 62 63 63 public void Open() { 64 pipeFactory = new DuplexChannelFactory<ISlaveCommunication>(this, "SlaveCommunicationServiceEndpoint"); 65 RegisterEvents(); 64 try { 65 pipeFactory = new DuplexChannelFactory<ISlaveCommunication>(this, "SlaveCommunicationServiceEndpoint"); 66 RegisterEvents(); 67 } 68 catch (Exception ex) { 69 OnMessageLogged("Error establishing connection to Core. Are you missing a configuration file?\n" + ex.ToString()); 70 } 66 71 } 67 72 … … 72 77 return true; 73 78 } 74 catch (Exception e) {75 OnMessageLogged("Couldn't connect to Slave core. Is it possible that the Slave Core isn't running?\n Exception is: " + e.ToString());79 catch (Exception) { 80 OnMessageLogged("Couldn't connect to Slave core. Is it possible that the Slave Core isn't running?\n"); 76 81 return false; 77 82 }
Note: See TracChangeset
for help on using the changeset viewer.