Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12579


Ignore:
Timestamp:
07/03/15 11:19:10 (9 years ago)
Author:
ascheibe
Message:

#2408 removed exception handling code from Hive client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveClient.cs

    r12012 r12579  
    7676    #endregion
    7777
    78     private HiveClient() {
    79       //this will never be deregistered
    80       TaskScheduler.UnobservedTaskException += new EventHandler<UnobservedTaskExceptionEventArgs>(TaskScheduler_UnobservedTaskException);
    81     }
    82 
    83     private void TaskScheduler_UnobservedTaskException(object sender, UnobservedTaskExceptionEventArgs e) {
    84       e.SetObserved(); // avoid crash of process because task crashes. first exception found is handled in Results property
    85       throw new HiveException("Unobserved Exception in ConcurrentTaskDownloader", e.Exception);
    86     }
     78    private HiveClient() { }
    8779
    8880    public void ClearHiveClient() {
Note: See TracChangeset for help on using the changeset viewer.