[EMAIL PROTECTED] writes: > I've encountered a problem with exceptions in boost/test: > Our project uses a base class for all our exceptions which cannot derive > from std::exception. > > If such an exception is thrown, the message: > Exception in "...": unknown type > is printed out, which is not very helpful in locating the problem. > > Is there a way to specify an "exception handler", which can catch "our" > exceptions and print something more useful?. > > We are working with the unit_test_monitor if that makes any difference.
We have a technology for installing user-defined exception handlers in Boost.Python; I'd be happy to explain it to anyone who would like to factor it out into a separate library that could be used by Boost.Test. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost