summaryrefslogtreecommitdiff
path: root/TAO/tests/Smart_Proxies/Policy/server.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-02-02 16:22:17 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-02-02 16:22:17 +0000
commit6a6073d92af10c8d9ef7a8157fc3330bf75ad5b5 (patch)
tree6246617821b6e0943900008eeaa1d767c2ea7dcb /TAO/tests/Smart_Proxies/Policy/server.cpp
parentfe2c97f8c7465fdafebe7a2db55bc720f9a009b2 (diff)
downloadATCD-6a6073d92af10c8d9ef7a8157fc3330bf75ad5b5.tar.gz
Fri Feb 2 16:16:14 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Smart_Proxies/Policy/server.cpp')
-rw-r--r--TAO/tests/Smart_Proxies/Policy/server.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/tests/Smart_Proxies/Policy/server.cpp b/TAO/tests/Smart_Proxies/Policy/server.cpp
index 66f7a13e3d0..3246d5a2919 100644
--- a/TAO/tests/Smart_Proxies/Policy/server.cpp
+++ b/TAO/tests/Smart_Proxies/Policy/server.cpp
@@ -54,8 +54,7 @@ Test_i :: method (CORBA::Short boo)
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("Test_i::method () invoked\n")));
if (boo == 5)
- ACE_THROW_RETURN (Test::Oops ("Invalid boo\n"),
- -1);
+ throw Test::Oops ("Invalid boo\n");
return 0;
}