diff options
author | Benoit Foucher <benoit@zeroc.com> | 2018-12-17 11:46:37 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2018-12-17 11:47:02 +0100 |
commit | f7652d39e6ce2b3730343af11db81b8365ccc09d (patch) | |
tree | 621b01835cde7a22dc5dc25871f97f3b1ef4eda0 /cpp/src/Ice/Exception.cpp | |
parent | Update to NuGet 4.9.2 (diff) | |
download | ice-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.cpp | 4 |
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 |