X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc%2B%2B.so_src%2Finclude_exp%2Fexception;h=63e35bdea7813e2d4c7264593dacc21dc8f26a0b;hb=94602b5642f62821d759a1317b35e3bd770aefad;hp=0beb016059bdb1a992be32851704e79f6fea72ce;hpb=2f3e82a7b2847e6ff7d65e73295bf3d6469236ab;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libc++.so_src/include_exp/exception b/Usermode/Libraries/libc++.so_src/include_exp/exception index 0beb0160..63e35bde 100644 --- a/Usermode/Libraries/libc++.so_src/include_exp/exception +++ b/Usermode/Libraries/libc++.so_src/include_exp/exception @@ -27,6 +27,22 @@ protected: exception(const string& what_str) noexcept; }; +class bad_exception: + public exception +{ +public: + bad_exception() noexcept; +}; + +typedef void (*terminate_handler)(); +typedef void (*unexpected_handler)(); + +extern void set_terminate(terminate_handler f) throw(); +extern void set_unexpected(unexpected_handler f) throw(); +extern void terminate(); +extern void unexpected(); +extern bool uncaught_exception() throw(); + }; // namespace std #endif