Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/12/08 11:50:43 (16 years ago)
Author:
gkronber
Message:

merged changesets r382 and r383 (fix references and compiler warnings) into the "collections" branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Collections/sources/HeuristicLab.Grid/JobManager.cs

    r379 r384  
    189189          }
    190190          return;
    191         } catch(TimeoutException timeoutException) {
    192           retries++;
    193           Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
    194         } catch(CommunicationException communicationException) {
     191        } catch(TimeoutException) {
     192          retries++;
     193          Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
     194        } catch(CommunicationException) {
    195195          ResetConnection();
    196196          retries++;
     
    208208            return zippedResult;
    209209          }
    210         } catch(TimeoutException timeoutException) {
    211           retries++;
    212           Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
    213         } catch(CommunicationException communicationException) {
     210        } catch(TimeoutException) {
     211          retries++;
     212          Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
     213        } catch(CommunicationException) {
    214214          ResetConnection();
    215215          retries++;
     
    229229            return jobState;
    230230          }
    231         } catch(TimeoutException timeoutException) {
    232           retries++;
    233           Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
    234         } catch(CommunicationException communicationException) {
     231        } catch(TimeoutException) {
     232          retries++;
     233          Thread.Sleep(TimeSpan.FromSeconds(RETRY_TIMEOUT_SEC));
     234        } catch(CommunicationException) {
    235235          ResetConnection();
    236236          retries++;
Note: See TracChangeset for help on using the changeset viewer.