diff options
Diffstat (limited to 'cpp/rubygen')
-rwxr-xr-x | cpp/rubygen/framing.0-10/constants.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/rubygen/framing.0-10/constants.rb b/cpp/rubygen/framing.0-10/constants.rb index 206aabadf9..fa46751f7a 100755 --- a/cpp/rubygen/framing.0-10/constants.rb +++ b/cpp/rubygen/framing.0-10/constants.rb @@ -152,7 +152,7 @@ EOS assign = "holder = new #{c.name.caps}Exception(text); " unless c.name == "normal" genl "case #{c.value}: #{assign}break;" } - genl " holder = new #{invalid}(QPID_MSG(\"Bad exception code: \" << code << \": \" << text));" + genl "default: holder = new #{invalid}(QPID_MSG(\"Bad #{enum.parent.name}: \" << code << \": \" << text));" } genl "return holder;" } |