1 Feb 2006 11:40
[ROOT] FW: Exception catching across a call to ProcessLineFast
Nick West <n.west1 <at> physics.ox.ac.uk>
2006-02-01 10:40:29 GMT
2006-02-01 10:40:29 GMT
Dear RootTalk,
Is there a limitation on ProcessLineFast that prevents code from
catching an exception thrown from code called via ProcessLineFast?
i.e.
try { gROOT->ProcessLineFast("MyFunction()"); }
catch(object-thrown-by-MyFunction) { ...}
and if not, can anyone see what's wrong with the attached macro
where the catch works fine for a direct call but fails when the
call goes via ProcessLineFast.
Note I am using ACliC; I am not expecting exception handling
to be handled within CINT.
I am running Scientific Linux SL Release 3.0.4 (SL)
gcc version 3.2.3 2
With ROOT 4.04/02 build 12 September 2005
- the failing catch terminates the program.
With ROOT 5.08/00 build 13 December 2005
- the failing catch reports:-
Error: C++ exception caught :0:
and ROOT recovers but I have lost the exception information.
(Continue reading)
RSS Feed