- Timestamp:
- 07/12/08 11:50:43 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Collections/sources/HeuristicLab.Grid/ClientForm.cs
r252 r384 111 111 try { 112 112 gotEngine = engineStore.TryTakeEngine(out currentGuid, out engineXml); 113 } catch(TimeoutException timeoutException) {113 } catch(TimeoutException) { 114 114 currentEngine = null; 115 115 currentGuid = Guid.Empty; … … 117 117 fetchOperationTimer.Interval = 5000; 118 118 fetchOperationTimer.Start(); 119 } catch(CommunicationException communicationException) {119 } catch(CommunicationException) { 120 120 // connection problem -> reset connection and start the timer again 121 121 ResetConnection(); … … 155 155 engineStore.StoreResult(currentGuid, resultXml); 156 156 success = true; 157 } catch(TimeoutException timeoutException) {157 } catch(TimeoutException) { 158 158 success = false; 159 159 retries++; 160 160 Thread.Sleep(TimeSpan.FromSeconds(CONNECTION_RETRY_TIMEOUT_SEC)); 161 } catch(CommunicationException communicationException) {161 } catch(CommunicationException) { 162 162 ResetConnection(); 163 163 success = false;
Note: See TracChangeset
for help on using the changeset viewer.