summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/udp/TestI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-01-22 15:19:02 +0100
committerBenoit Foucher <benoit@zeroc.com>2009-01-22 15:19:02 +0100
commit3994b371119ba308c6c4f27475c1b16a1fc518eb (patch)
tree476d2e9180d79e3910430b1396431d93c43bb180 /cpp/test/Ice/udp/TestI.cpp
parentMore fixes for bug3504 and fixed bug3506 (diff)
downloadice-3994b371119ba308c6c4f27475c1b16a1fc518eb.tar.bz2
ice-3994b371119ba308c6c4f27475c1b16a1fc518eb.tar.xz
ice-3994b371119ba308c6c4f27475c1b16a1fc518eb.zip
Fixed bug 3484 & 3604
Diffstat (limited to 'cpp/test/Ice/udp/TestI.cpp')
-rw-r--r--cpp/test/Ice/udp/TestI.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/cpp/test/Ice/udp/TestI.cpp b/cpp/test/Ice/udp/TestI.cpp
index 8cd9bf8e1ea..55657e25ada 100644
--- a/cpp/test/Ice/udp/TestI.cpp
+++ b/cpp/test/Ice/udp/TestI.cpp
@@ -21,7 +21,20 @@ TestIntfI::ping(const Test::PingReplyPrx& reply, const Current& current)
{
reply->reply();
}
- catch(const Ice::Exception ex)
+ catch(const Ice::Exception&)
+ {
+ assert(false);
+ }
+}
+
+void
+TestIntfI::sendByteSeq(const Test::ByteSeq&, const Test::PingReplyPrx& reply, const Current& current)
+{
+ try
+ {
+ reply->reply();
+ }
+ catch(const Ice::Exception&)
{
assert(false);
}