summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/TestI.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-01-31 18:12:48 +0000
committerMark Spruiell <mes@zeroc.com>2002-01-31 18:12:48 +0000
commit114c9c2beca3ca643473c25ff3ed5863cb0282f6 (patch)
treeb0e784b461dfa8e0258749827d1f3ca4127d036d /cpp/test/Ice/exceptions/TestI.cpp
parentminor reformat of comment. (diff)
downloadice-114c9c2beca3ca643473c25ff3ed5863cb0282f6.tar.bz2
ice-114c9c2beca3ca643473c25ff3ed5863cb0282f6.tar.xz
ice-114c9c2beca3ca643473c25ff3ed5863cb0282f6.zip
fix for interop with Java
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 5c7fcb05daa..5e4a01b5b8e 100644
--- a/cpp/test/Ice/exceptions/TestI.cpp
+++ b/cpp/test/Ice/exceptions/TestI.cpp
@@ -84,6 +84,12 @@ ThrowerI::throwCasC(Ice::Int a, Ice::Int b, Ice::Int c, const Ice::Current&)
throw ex;
}
+bool
+ThrowerI::supportsUndeclaredExceptions(const Ice::Current&)
+{
+ return true;
+}
+
void
ThrowerI::throwUndeclaredA(Ice::Int a, const Ice::Current&)
{