1 %module exception_partial_info
3 // This produced compileable code for Tcl, Python in 1.3.27, fails in 1.3.29
7 #pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
15 virtual const char *name() = 0;
18 class ex1 : public myException
21 virtual const char *name() { return "ex1"; }
24 class ex2 : public myException
27 virtual const char *name() { return "ex2"; }
33 #if !defined(SWIGCHICKEN)
39 void f1() throw (myException) { ex1 e; throw e; }
40 void f2() throw (myException) { ex2 e; throw e; }
45 #warning "Chicken needs fixing for partial exception information"
49 #warning "UTL needs fixing for partial exception information"