Implement exceptions catching in the Core to report exception from a thread to main thread
|Status:||Archived||Start date:||22 Sep 2014|
|Target version:||Sprint 24|
The goal is to get in GUI exception which was thrown in one of our Core's threads.
There is no platform independent way to catch exception from a thread in the main thread.
may be boost::exception will do the thing
Probably the easiest way is to catch all exceptions in DWBASimulation::run() and then report Simulation's main thread that there was a failure. Simulation will re-throw exception further and we will catch it in GUI.