summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/exceptions/TestI.cpp')
-rw-r--r--cpp/test/Ice/exceptions/TestI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/TestI.cpp b/cpp/test/Ice/exceptions/TestI.cpp
index 4ffbece9a6d..d6cd178c0d6 100644
--- a/cpp/test/Ice/exceptions/TestI.cpp
+++ b/cpp/test/Ice/exceptions/TestI.cpp
@@ -152,6 +152,12 @@ ThrowerI::throwAssertException(const Ice::Current&)
assert(false); // Not supported in C++.
}
+Ice::ByteSeq
+ThrowerI::throwMemoryLimitException(const Ice::ByteSeq&, const Ice::Current&)
+{
+ return Ice::ByteSeq(1024 * 20); // 20 KB.
+}
+
void
ThrowerI::throwLocalExceptionIdempotent(const Ice::Current&)
{