Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/06/11 20:52:53 (12 years ago)
Author:
abeham
Message:

#1516

  • fixed code formatting
  • added some license headers
  • removed unnecessary resx file
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/Drivers/EvaluationServiceClient.cs

    r6470 r6519  
    5252    [StorableConstructor]
    5353    protected EvaluationServiceClient(bool deserializing) : base(deserializing) { }
    54     protected EvaluationServiceClient(EvaluationServiceClient original, Cloner cloner) : base(original, cloner) {
     54    protected EvaluationServiceClient(EvaluationServiceClient original, Cloner cloner)
     55      : base(original, cloner) {
    5556      RegisterEvents();
    56     }   
     57    }
    5758    public EvaluationServiceClient()
    5859      : base() {
     
    8384          result = (QualityMessage)Channel.Receive(QualityMessage.CreateBuilder());
    8485          success = true;
    85         }
    86         catch (InvalidOperationException) {
     86        } catch (InvalidOperationException) {
    8787          throw;
    88         }
    89         catch {
     88        } catch {
    9089          if (tries >= maxTries)
    9190            throw;
     
    104103          Channel.Send(solution);
    105104          success = true;
    106         }
    107         catch (InvalidOperationException) {
     105        } catch (InvalidOperationException) {
    108106          throw;
    109         }
    110         catch {
     107        } catch {
    111108          if (tries >= maxTries)
    112109            throw;
     
    123120        try {
    124121          Channel.Open();
    125         }
    126         catch (Exception e) {
     122        } catch (Exception e) {
    127123          throw new InvalidOperationException(Name + ": The channel could not be opened.", e);
    128124        }
     
    134130      try {
    135131        message = (QualityMessage)Channel.Receive(QualityMessage.CreateBuilder());
    136       }
    137       catch { }
     132      } catch { }
    138133      ((Action<QualityMessage>)callback).Invoke(message);
    139134    }
Note: See TracChangeset for help on using the changeset viewer.