diff --git a/ChangeLog b/ChangeLog index f4c9f98c2..d8746f075 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-07-20 Mike Kestner + + * generator/SignalHandler.cs : pring unexpected key in exception. + 2002-07-20 Mike Kestner * generator/Method.cs : beef up !Validate warnings diff --git a/generator/SignalHandler.cs b/generator/SignalHandler.cs index cf9935ee5..2d018f555 100644 --- a/generator/SignalHandler.cs +++ b/generator/SignalHandler.cs @@ -132,7 +132,7 @@ namespace GtkSharp.Generation { sw.WriteLine(cbname + "(" + pinv + ", int key)"); sw.WriteLine("\t\t{"); sw.WriteLine("\t\t\tif (!_Instances.Contains(key))"); - sw.WriteLine("\t\t\t\tthrow new Exception(\"Unexpected signal key\");"); + sw.WriteLine("\t\t\t\tthrow new Exception(\"Unexpected signal key \" + key);"); sw.WriteLine(); sw.WriteLine("\t\t\t" + sname + " inst = (" + sname + ") _Instances[key];"); if ((s_ret == "void") && (parms.Count == 1)) {