diff --git a/SWIG/Source/Modules/emit.cxx b/SWIG/Source/Modules/emit.cxx index 100848a21..f2b53cbb3 100644 --- a/SWIG/Source/Modules/emit.cxx +++ b/SWIG/Source/Modules/emit.cxx @@ -430,7 +430,7 @@ void emit_action(Node *n, Wrapper *f) { Printf(eaction,"}\n"); } else { Swig_warning(WARN_TYPEMAP_THROW, Getfile(n), Getline(n), - "No 'throw' typemap defined for exception type '%s'\n", + "No 'throws' typemap defined for exception type '%s'\n", SwigType_str(Getattr(ep,"type"),0)); unknown_catch = 1; }