Fix recently introduced ScopedExceptionHandler.

can't use setjmp inside a function that is not the parent.
just write and use some macros.

Otherwise the "else" from handler.Set() was never reached, which caused a unit
test to fail.
This commit is contained in:
Török Edvin 2010-11-10 14:53:39 +02:00
parent 6bbbf1cc25
commit 3a35520bf9