Changeset 7409 for trunk/sources/HeuristicLab.Clients.Hive
- Timestamp:
- 01/25/12 13:20:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/RefreshableJob.cs
r7259 r7409 342 342 343 343 private void jobResultPoller_ExceptionOccured(object sender, EventArgs<Exception> e) { 344 OnExceptionOccured( e.Value);344 OnExceptionOccured(sender, e.Value); 345 345 } 346 346 private void jobDownloader_ExceptionOccured(object sender, EventArgs<Exception> e) { 347 OnExceptionOccured( e.Value);347 OnExceptionOccured(sender, e.Value); 348 348 } 349 349 public void UpdateTotalExecutionTime() { … … 445 445 446 446 public event EventHandler<EventArgs<Exception>> ExceptionOccured; 447 private void OnExceptionOccured( Exception exception) {447 private void OnExceptionOccured(object sender, Exception exception) { 448 448 log.LogException(exception); 449 449 var handler = ExceptionOccured; 450 if (handler != null) handler( this, new EventArgs<Exception>(exception));450 if (handler != null) handler(sender, new EventArgs<Exception>(exception)); 451 451 } 452 452
Note: See TracChangeset
for help on using the changeset viewer.