Feature #814

Implement exceptions catching in the Core to report exception from a thread to main thread

Added by pospelov over 5 years ago. Updated over 5 years ago.

Status:ArchivedStart date:22 Sep 2014
Priority:NormalDue date:
Assignee:pospelov% Done:

0%

Category:-
Target version:Sprint 24

Description

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.

History

#1 Updated by pospelov over 5 years ago

  • Description updated (diff)
  • Assignee deleted (pospelov)

#2 Updated by pospelov over 5 years ago

  • Assignee set to pospelov

#3 Updated by pospelov over 5 years ago

  • Status changed from Sprint to Resolved

Also have implemented catch in JobQueueModel to process crashes in DomainObjectBuilder.

#4 Updated by herck over 5 years ago

  • Status changed from Resolved to Archived

Also available in: Atom PDF