summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/Exception.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src/Ice/Exception.cs')
-rw-r--r--csharp/src/Ice/Exception.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp/src/Ice/Exception.cs b/csharp/src/Ice/Exception.cs
index e97c25aedd5..4f640970f2c 100644
--- a/csharp/src/Ice/Exception.cs
+++ b/csharp/src/Ice/Exception.cs
@@ -41,8 +41,8 @@ namespace IceInternal
Debug.Assert(false);
}
- throw new Ice.UnexpectedObjectException("expected element of type `" + expected + "' but received '" + type,
- type, expected);
+ throw new Ice.UnexpectedObjectException("expected element of type `" + expected + "' but received `" +
+ type + "'", type, expected);
}
public static void throwMemoryLimitException(int requested, int maximum)