summaryrefslogtreecommitdiff
path: root/TAO/tests/DSI_Gateway/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/DSI_Gateway/test_i.cpp')
-rw-r--r--TAO/tests/DSI_Gateway/test_i.cpp21
1 files changed, 9 insertions, 12 deletions
diff --git a/TAO/tests/DSI_Gateway/test_i.cpp b/TAO/tests/DSI_Gateway/test_i.cpp
index 759578e6f6a..c9eeeefa7e4 100644
--- a/TAO/tests/DSI_Gateway/test_i.cpp
+++ b/TAO/tests/DSI_Gateway/test_i.cpp
@@ -13,8 +13,7 @@ CORBA::Long
Simple_Server_i::test_method (CORBA::Long x,
const Structure& the_in_structure,
Structure_out the_out_structure,
- char *&name
- ACE_ENV_ARG_DECL_NOT_USED)
+ char *&name)
ACE_THROW_SPEC ((CORBA::SystemException))
{
Structure *tmp = 0;
@@ -39,38 +38,36 @@ Simple_Server_i::test_method (CORBA::Long x,
}
void
-Simple_Server_i::raise_user_exception (ACE_ENV_SINGLE_ARG_DECL)
+Simple_Server_i::raise_user_exception (void)
ACE_THROW_SPEC ((CORBA::SystemException,
test_exception))
{
- ACE_THROW (test_exception (33,
- "reactor meltdown",
- "kaput"));
+ throw test_exception (33, "reactor meltdown", "kaput");
}
void
-Simple_Server_i::raise_system_exception (ACE_ENV_SINGLE_ARG_DECL)
+Simple_Server_i::raise_system_exception (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- ACE_THROW (CORBA::NO_PERMISSION ());
+ throw CORBA::NO_PERMISSION ();
}
void
-Simple_Server_i::shutdown (ACE_ENV_SINGLE_ARG_DECL)
+Simple_Server_i::shutdown (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER);
+ this->orb_->shutdown (0);
}
CORBA::Long
-Simple_Server_i::test_val (ACE_ENV_SINGLE_ARG_DECL)
+Simple_Server_i::test_val (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
return vlong_;
}
void
-Simple_Server_i::test_val (CORBA::Long tv ACE_ENV_ARG_DECL_NOT_USED)
+Simple_Server_i::test_val (CORBA::Long tv)
ACE_THROW_SPEC ((CORBA::SystemException))
{
if (TAO_debug_level > 0)