summaryrefslogtreecommitdiff
path: root/js/src/Ice/ExUtil.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/Ice/ExUtil.js')
-rw-r--r--js/src/Ice/ExUtil.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/Ice/ExUtil.js b/js/src/Ice/ExUtil.js
index 7dc9191a40e..50135a7ce03 100644
--- a/js/src/Ice/ExUtil.js
+++ b/js/src/Ice/ExUtil.js
@@ -24,8 +24,8 @@ Ice.ExUtil =
throwUOE: function(expectedType, v)
{
const type = v.ice_id();
- throw new UnexpectedObjectException("expected element of type `" + expectedType + "' but received '" +
- type, type, expectedType);
+ throw new UnexpectedObjectException("expected element of type `" + expectedType + "' but received `" +
+ type + "'", type, expectedType);
},
throwMemoryLimitException: function(requested, maximum)
{