First cut of custom exception support

This commit is contained in:
Phil Nash 2011-04-20 15:40:40 +01:00
parent d4117b9208
commit 9430a2c4c8
8 changed files with 192 additions and 2 deletions

View file

@ -577,7 +577,7 @@ namespace Catch
}
catch(...)
{
acceptMessage( "unknown exception" );
acceptMessage( Catch::Hub::getExceptionTranslatorRegistry().translateActiveException() );
acceptResult( ResultWas::ThrewException );
}
m_info.clear();