[Rock-dev] Orocos silently swallows exceptions
    Jakob Schwendner 
    jakob.schwendner at dfki.de
       
    Fri Feb 11 10:32:59 CET 2011
    
    
  
Hi,
this is the second time, I ran into the problem, that I suspected Orocos 
to silently swallow exceptions.
This time I traced it down to RTT (rtt/ExecutionEngine.cpp).
// A trigger() in startHook() will be ignored, we trigger in TaskCore 
after startHook finishes.
             if ( taskc->mTaskState == TaskCore::Running && 
taskc->mTargetState == TaskCore::Running ) {
                 try {
                     taskc->prepareUpdateHook();
                     taskc->updateHook();
                 } catch(...){
                     taskc->exception(); // calls stopHook,cleanupHook
                 }
             }
fair enough it catches my exception, but shouldn't it let me know about 
it? Is there something I missed?
cheers,
Jakob
-- 
Jakob Schwendner, M.Sc.
Researcher
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 17845-4120
Fax:   +49 (0)421 17845-4150
E-Mail: jakob.schwendner at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------
    
    
More information about the Rock-dev
mailing list