diff --git a/apps/gpu/Cases_1_3_5_7/Cases_1_3_5_7.cpp b/apps/gpu/Cases_1_3_5_7/Cases_1_3_5_7.cpp index 99e600558c33942942674ae5fea395a061ba2c9e..1f9a7c31d942314ea8a833c4f8850a551c47018f 100644 --- a/apps/gpu/Cases_1_3_5_7/Cases_1_3_5_7.cpp +++ b/apps/gpu/Cases_1_3_5_7/Cases_1_3_5_7.cpp @@ -217,10 +217,8 @@ int main(int argc, char *argv[]) } catch (const std::bad_alloc &e) { *logging::out << logging::Logger::LOGGER_ERROR << "Bad Alloc:" << e.what() << "\n"; } catch (const std::exception &e) { - *logging::out << logging::Logger::LOGGER_ERROR << e.what() << "\n"; } catch (std::string &s) { - *logging::out << logging::Logger::LOGGER_ERROR << s << "\n"; } catch (...) { *logging::out << logging::Logger::LOGGER_ERROR << "Unknown exception!\n"; diff --git a/apps/gpu/Cases_2_4_6_8/Cases_2_4_6_8.cpp b/apps/gpu/Cases_2_4_6_8/Cases_2_4_6_8.cpp index 378064fe2f89c7d5a3784d71531103507449fd0b..5d1d5d3f0511eaee7cd19a68f108288ff022f0de 100644 --- a/apps/gpu/Cases_2_4_6_8/Cases_2_4_6_8.cpp +++ b/apps/gpu/Cases_2_4_6_8/Cases_2_4_6_8.cpp @@ -221,10 +221,8 @@ int main(int argc, char *argv[]) } catch (const std::bad_alloc &e) { *logging::out << logging::Logger::LOGGER_ERROR << "Bad Alloc:" << e.what() << "\n"; } catch (const std::exception &e) { - *logging::out << logging::Logger::LOGGER_ERROR << e.what() << "\n"; } catch (std::string &s) { - *logging::out << logging::Logger::LOGGER_ERROR << s << "\n"; } catch (...) { *logging::out << logging::Logger::LOGGER_ERROR << "Unknown exception!\n";