1 // Exception Handling support header for -*- C++ -*-
14 exception(const char * const &) throw();
15 exception(const char * const &, int) throw();
17 virtual ~exception() throw();
19 virtual const char *what() const throw();
25 class bad_exception : public exception
28 bad_exception(const char *name = "bad exception") throw()
31 virtual ~bad_exception() throw() { }
37 using ::bad_exception;
39 typedef void (*unexpected_handler) ();
41 unexpected_handler set_unexpected(unexpected_handler) throw();
43 __MINGW_ATTRIB_NORETURN void unexpected();
45 bool uncaught_exception() throw();
48 typedef void (*terminate_handler) ();
49 terminate_handler set_terminate(terminate_handler) throw();
50 __MINGW_ATTRIB_NORETURN void terminate() throw();