summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/param_test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Param_Test/param_test_i.cpp')
-rw-r--r--TAO/tests/Param_Test/param_test_i.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tests/Param_Test/param_test_i.cpp b/TAO/tests/Param_Test/param_test_i.cpp
index 3ab158d6599..c7fa1976fc1 100644
--- a/TAO/tests/Param_Test/param_test_i.cpp
+++ b/TAO/tests/Param_Test/param_test_i.cpp
@@ -944,13 +944,13 @@ Param_Test_i::test_exception (CORBA::ULong s1,
// Throw a known user exception type to test the user exception.
else if (d == 1)
{
- ACE_THROW_RETURN (Param_Test::Ooops (" % 4 == 1", d), 0);
+ throw Param_Test::Ooops (" % 4 == 1", d);
}
// Throw a CORBA::SystemException type CORBA::NO_MEMORY to test
// the system exception.
else if (d == 2)
{
- ACE_THROW_RETURN (CORBA::NO_MEMORY (), 0);
+ throw CORBA::NO_MEMORY ();
}
// This will avoid the compiler