summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcpp/src/slice2cs/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index abf5d3431a4..4d6ad7d09b2 100755
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -3783,7 +3783,7 @@ Slice::Gen::DelegateMVisitor::visitClassDefStart(const ClassDefPtr& p)
_out << eb;
for(ExceptionList::const_iterator t = throws.begin(); t != throws.end(); ++t)
{
- _out << nl << "catch(" << fixId((*t)->name()) << ')';
+ _out << nl << "catch(" << fixId((*t)->scoped()) << ')';
_out << sb;
_out << nl << "throw;";
_out << eb;