1 // Exception Handling support header for -*- C++ -*-
12 exception(const char * const &) throw();
13 exception(const char * const &, int) throw();
15 virtual ~exception() throw();
17 virtual const char *what() const throw();
23 class bad_exception : public exception
26 bad_exception(const char *name = "bad exception") throw()
29 virtual ~bad_exception() throw() { }
35 using ::bad_exception;
37 typedef void (*unexpected_handler) ();
39 unexpected_handler set_unexpected(unexpected_handler) throw();
41 __MINGW_ATTRIB_NORETURN void unexpected();
43 bool uncaught_exception() throw();
46 typedef void (*terminate_handler) ();
47 terminate_handler set_terminate(terminate_handler) throw();
48 __MINGW_ATTRIB_NORETURN void terminate() throw();