From 3a3b8e0b2a0193054518b8c0a8b253a92255a8d3 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Thu, 28 Apr 2016 17:10:03 +0000 Subject: [PATCH] re-stubify this as all it does is hide real errors --- .../src/linux/SetupSharedFoundation.cpp | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/engine/shared/library/sharedFoundation/src/linux/SetupSharedFoundation.cpp b/engine/shared/library/sharedFoundation/src/linux/SetupSharedFoundation.cpp index 08809fcc..65130ea2 100755 --- a/engine/shared/library/sharedFoundation/src/linux/SetupSharedFoundation.cpp +++ b/engine/shared/library/sharedFoundation/src/linux/SetupSharedFoundation.cpp @@ -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(); } // ----------------------------------------------------------------------