re-stubify this as all it does is hide real errors

This commit is contained in:
DarthArgus
2016-04-28 17:10:03 +00:00
parent b99e3e45f9
commit 3a3b8e0b2a
@@ -84,34 +84,7 @@ void SetupSharedFoundation::install(const Data &data)
void SetupSharedFoundation::callbackWithExceptionHandling( void (*callback)(void) ) // Routine to call with exception handling
{
if (ConfigSharedFoundation::getNoExceptionHandling())
{
callback();
}
else
{
try
{
callback();
}
catch (const __exception * mathException)
{
FATAL(true, ("Math Exception: %s\n", mathException->name));
}
catch (const char* message)
{
FATAL(true, ("Character Exception: %s\n", message));
}
catch(std::exception & m)
{
const char * c = m.what();
FATAL(true, ("Std::exception: %s\n", c));
}
catch(...)
{
FATAL(true, ("Unknown exception\n"));
}
}
callback();
}
// ----------------------------------------------------------------------