
On Tue, Mar 6, 2012 at 11:07 AM, Ovanes Markarian
On Mon, Mar 5, 2012 at 11:39 PM, Emil Dotchevski
wrote: It is possible to get the diagnostic information out of what(). See
www.boost.org/doc/libs/release/libs/exception/doc/diagnostic_information_what.html.
Thanks a lot for the answer. This is not my use case. I don't want to catch the exception myself in the unit test. I would like Boost.Test to report the extended error.
You indicated that your version of Boost.Test shows the what() message. My point was that you can implement (possibly in a base class of your exception class hierarchy) what() using diagnostic_information_what, and you'll see full diagnostic information in any context that displays the what() string. -- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode