Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/22/11 16:44:28 (13 years ago)
Author:
ascheibe
Message:

#1233 various slave and slave tray icon improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/Executor.cs

    r5793 r5795  
    8888    public void Pause() {
    8989      if (Job == null) {
    90         throw new InvalidStateException("Job is null");
     90        SlaveClientCom.Instance.ClientCom.LogMessage("Pausing job: Job is null");
     91        Core.EnqueueExecutorMessage(Core.KillAppDomain, JobId);
    9192      }
    9293
     
    105106    public void Stop() {
    106107      if (Job == null) {
    107         throw new InvalidStateException("Job is null");
     108        SlaveClientCom.Instance.ClientCom.LogMessage("Stopping job: Job is null");
     109        Core.EnqueueExecutorMessage(Core.KillAppDomain, JobId);
    108110      }
    109111      wasJobAborted = true;
     
    193195    public JobData GetFinishedJob() {
    194196      if (Job == null) {
    195         throw new InvalidStateException("Job is null");
     197        SlaveClientCom.Instance.ClientCom.LogMessage("Getting finished job: Job is null");
     198        Core.EnqueueExecutorMessage(Core.KillAppDomain, JobId);
    196199      }
    197200
Note: See TracChangeset for help on using the changeset viewer.