]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/unix/application.cpp
Redesign uncaught exception handling to allow external reporters
[libs/core.git] / source / core / unix / application.cpp
diff --git a/source/core/unix/application.cpp b/source/core/unix/application.cpp
deleted file mode 100644 (file)
index 7f45fbc..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <typeinfo>
-#include <msp/debug/demangle.h>
-#include <msp/io/print.h>
-#include "application.h"
-
-using namespace std;
-
-namespace Msp {
-
-void Application::display_exception(const exception &e)
-{
-       IO::print(IO::cerr, "An uncaught exception occurred.\n");
-       IO::print(IO::cerr, "  type:   %s\n", Debug::demangle(typeid(e).name()));
-       IO::print(IO::cerr, "  what(): %s\n", e.what());
-}
-
-} // namespace Msp