don't log std::exceptions ourselves, let cppunit do it as it outputs more details

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-25 13:32:19 +00:00
parent cf58616239
commit 9912799caf

View File

@@ -107,6 +107,13 @@ public:
{
return functor();
}
catch ( std::exception& e )
{
// cppunit deals with the standard exceptions itself, let it do as
// it output more details (especially for std::exception-derived
// CppUnit::Exception) than we do
throw;
}
catch ( ... )
{
reportError(context, CppUnit::Message("Uncaught exception",