summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-12-17 11:46:37 +0100
committerBenoit Foucher <benoit@zeroc.com>2018-12-17 11:47:02 +0100
commitf7652d39e6ce2b3730343af11db81b8365ccc09d (patch)
tree621b01835cde7a22dc5dc25871f97f3b1ef4eda0 /cpp/src/Ice/Exception.cpp
parentUpdate to NuGet 4.9.2 (diff)
downloadice-f7652d39e6ce2b3730343af11db81b8365ccc09d.tar.bz2
ice-f7652d39e6ce2b3730343af11db81b8365ccc09d.tar.xz
ice-f7652d39e6ce2b3730343af11db81b8365ccc09d.zip
Fixed quoting of UnexpectedObjectException message
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r--cpp/src/Ice/Exception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index 1220cc8b76e..5909ed64524 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -82,8 +82,8 @@ throwUOE(const string& expectedType, const ValuePtr& v)
string type = v->ice_id();
throw Ice::UnexpectedObjectException(__FILE__, __LINE__,
- "expected element of type `" + expectedType + "' but received '" +
- type, type, expectedType);
+ "expected element of type `" + expectedType + "' but received `" +
+ type + "'", type, expectedType);
}
void