Ticket #6599 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Live Listener Should Re-Throw Exceptions

Reported by: Ross Miller Owned by: Ross Miller
Priority: major Milestone: Release 2.5
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Russell Taylor

Description

If the background thread in SNSLiveEventDataListener throws an exception, it should be caught and re-thrown from the foreground thread so that the MonitorLiveData algorithm can catch it and stop.

(Currently, exceptions from the background thread are caught and an error is logged, but the exceptions are not re-thrown.)

Change History

comment:1 Changed 8 years ago by Ross Miller

  • Status changed from new to accepted

comment:2 Changed 8 years ago by Ross Miller

Re-throw exceptions from the live listener background thread

Exceptions thrown in the background thread of SNSLiveEventDataListener are caught and then re-thrown from the foreground thread so the calling algorithm will see them and act accordingly.

Refs #6599

Changeset: f2687e47c610891e1d06b802ff8bd520b92741b7

comment:3 Changed 8 years ago by Ross Miller

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:4 Changed 8 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:5 Changed 8 years ago by Russell Taylor

  • Status changed from verifying to closed

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7445

Note: See TracTickets for help on using tickets.