Usermode/AxWin4 - Screen dimensions acquisition, speedup, window render
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / exceptions.cc
index 2b66dce..117ceeb 100644 (file)
@@ -8,6 +8,7 @@
 #include <string>
 #include <exception>
 #include <stdexcept>
+#include <acess/sys.h>
 
 // === CODE ===
 ::std::exception::exception() throw():
@@ -35,6 +36,13 @@ const char* ::std::exception::what() const throw()
        return m_what_str.c_str();
 }
 
+void ::std::terminate()
+{
+       _SysDebug("::std::terminate()");
+       _exit(0);
+}
+
+// --- Standar Exceptions ---
 ::std::logic_error::logic_error(const ::std::string& what_str):
        exception(what_str)
 {
@@ -44,3 +52,14 @@ const char* ::std::exception::what() const throw()
        logic_error(what_str)
 {
 }
+
+::std::length_error::length_error(const ::std::string& what_str):
+       logic_error(what_str)
+{
+}
+
+::std::runtime_error::runtime_error(const ::std::string& what_str):
+       exception(what_str)
+{
+}
+

UCC git Repository :: git.ucc.asn.au