summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/Client_Propagated/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTCORBA/Client_Propagated/server.cpp')
-rw-r--r--TAO/tests/RTCORBA/Client_Propagated/server.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/TAO/tests/RTCORBA/Client_Propagated/server.cpp b/TAO/tests/RTCORBA/Client_Propagated/server.cpp
index 9c134b8a815..0ebfe985c70 100644
--- a/TAO/tests/RTCORBA/Client_Propagated/server.cpp
+++ b/TAO/tests/RTCORBA/Client_Propagated/server.cpp
@@ -18,11 +18,9 @@ public:
// ctor
// = The Test methods.
- void test_method (CORBA::Short priority)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void test_method (CORBA::Short priority);
- void shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void shutdown (void);
private:
CORBA::ORB_var orb_;
@@ -36,7 +34,6 @@ Test_i::Test_i (CORBA::ORB_ptr orb)
void
Test_i::test_method (CORBA::Short priority)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// Use RTCurrent to find out the CORBA priority of the current
// thread.
@@ -67,7 +64,6 @@ Test_i::test_method (CORBA::Short priority)
void
Test_i::shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown (0);
}
@@ -234,7 +230,7 @@ main (int argc, char *argv[])
// parse arguments and get all the references (ORB,
// RootPOA, RTORB, RTCurrent, POAManager).
CORBA::ORB_var orb =
- CORBA::ORB_init (argc, argv, "");
+ CORBA::ORB_init (argc, argv);
if (parse_args (argc, argv) != 0)
return -1;