Ignore:
Timestamp:
Dec 1, 2010, 11:59:21 AM (11 years ago)
Author:
nolte
Message:

Full working Versionnumber code added.
INFO: THE UNCOMMENTED UPDATE WILL BE COMITTED THURSDAY 8PM (20Uhr :P )
PLEASE UPDATE YOUR SVN AFTERWARDS!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/Execution/ExecutionEngine.cs

    r2059 r2142  
    469469            catch (Exception ex)
    470470            {
    471                 this.PluginModel.WorkspaceModel.WorkspaceManagerEditor.GuiLogMessage("An error occured while executing  \"" + PluginModel.Name + "\": " + ex.Message, NotificationLevel.Error);
    472                 this.PluginModel.State = PluginModelState.Error;
    473                 this.PluginModel.GuiNeedsUpdate = true;
    474                 return;
     471                if (ex.Message.Equals("Exception of type 'KeySearcher.P2P.Exceptions.KeySearcherStopException' was thrown."))
     472                {
     473                    //KeysearcherStopExceptions need to shutdown the sheduler. Otherwise the process would start over and over again.
     474                    this.Stop();
     475                    return;
     476                }
     477                else
     478                {
     479                    this.PluginModel.WorkspaceModel.WorkspaceManagerEditor.GuiLogMessage("An error occured while executing  \"" + PluginModel.Name + "\": " + ex.Message, NotificationLevel.Error);
     480                    this.PluginModel.State = PluginModelState.Error;
     481                    this.PluginModel.GuiNeedsUpdate = true;
     482                    return;
     483                }
    475484            }
    476485
Note: See TracChangeset for help on using the changeset viewer.