summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Service_Context_Manipulation/test_i.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/Service_Context_Manipulation/test_i.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/test_i.cpp b/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/test_i.cpp
index 503c7a5b423..925f856c0b5 100644
--- a/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/test_i.cpp
+++ b/TAO/tests/Portable_Interceptors/Service_Context_Manipulation/test_i.cpp
@@ -13,41 +13,39 @@ Visual_i::Visual_i (CORBA::ORB_ptr orb)
}
void
-Visual_i::normal (CORBA::Long arg
- ACE_ENV_ARG_DECL_NOT_USED)
+Visual_i::normal (CORBA::Long arg)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG, "Visual::normal called with %d\n", arg));
}
void
-Visual_i::nothing (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+Visual_i::nothing (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG, "Visual::nothing\n"));
}
void
-Visual_i::user (ACE_ENV_SINGLE_ARG_DECL)
+Visual_i::user (void)
ACE_THROW_SPEC ((CORBA::SystemException,
Test_Interceptors::Silly))
{
ACE_DEBUG ((LM_DEBUG, "Visual::user, throwing Silly\n"));
- ACE_THROW (Test_Interceptors::Silly ());
+ throw Test_Interceptors::Silly ();
}
void
-Visual_i::system (ACE_ENV_SINGLE_ARG_DECL)
+Visual_i::system (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG, "Visual::user, throwing INV_OBJREF\n"));
- ACE_THROW (CORBA::INV_OBJREF ());
+ throw CORBA::INV_OBJREF ();
}
void
-Visual_i::shutdown (ACE_ENV_SINGLE_ARG_DECL)
+Visual_i::shutdown (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
+ this->orb_->shutdown (0);
}