9 Aug
2009
9 Aug
'09
8:27 p.m.
Emil Dotchevski
I'm not familiar with the test runner, but assuming that it is written in C++, all it needs is something like:
#include
.... catch(...) { std::cerr << boost::current_exception_diagnostic_information(); }
This will print the what() message (if available) too.
I want to have a bit more flexibility as to what and how I print. I'll need to get a hold of each component separately. Also I want to catch boost::exception by specific clause. It should be fine, right? Will I need to place it first in my list of catch clauses? Cause AFAIK actual type will inherit both boost::exception and the exception type being thrown. Gennadiy