11 Exc(int c, const char *m) {
20 #pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
25 int simple() throw(int) {
29 int message() throw(const char *) {
33 int hosed() throw(Exc) {
34 throw(Exc(42,"Hosed"));
37 int unknown() throw(A*) {
42 int multi(int x) throw(int, const char *, Exc) {
43 if (x == 1) throw(37);
44 if (x == 2) throw("Bleah!");
45 if (x == 3) throw(Exc(42,"No-go-diggy-die"));
51 #pragma warning(default: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)