3 * - By John Hodge (thePowersGang)
6 * - C++'s base exception type
8 #ifndef _LIBCXX_EXCEPTION_
9 #define _LIBCXX_EXCEPTION_
11 #define noexcept throw()
19 exception(const exception& e) noexcept;
20 exception& operator= (const exception& e) noexcept;
21 virtual ~exception() noexcept;
22 virtual const char* what() const noexcept;
29 bad_exception() noexcept;
30 const char* what() const noexcept;
33 typedef void (*terminate_handler)();
34 typedef void (*unexpected_handler)();
36 extern void set_terminate(terminate_handler f) throw();
37 extern void set_unexpected(unexpected_handler f) throw();
38 extern void terminate();
39 extern void unexpected();
40 extern bool uncaught_exception() throw();