summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/Private_Connection/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTCORBA/Private_Connection/server.cpp')
-rw-r--r--TAO/tests/RTCORBA/Private_Connection/server.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/TAO/tests/RTCORBA/Private_Connection/server.cpp b/TAO/tests/RTCORBA/Private_Connection/server.cpp
index 2ad7c3ce16a..ed3ee580a26 100644
--- a/TAO/tests/RTCORBA/Private_Connection/server.cpp
+++ b/TAO/tests/RTCORBA/Private_Connection/server.cpp
@@ -16,11 +16,9 @@ public:
// ctor
// = The Test methods.
- void test_method (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void test_method (void);
- void shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void shutdown (void);
private:
CORBA::ORB_var orb_;
@@ -34,7 +32,6 @@ Test_i::Test_i (CORBA::ORB_ptr orb)
void
Test_i::test_method (/* */)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG,
"Server: test_method invoked.\n"));
@@ -42,7 +39,6 @@ Test_i::test_method (/* */)
void
Test_i::shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown (0);
}
@@ -139,7 +135,7 @@ main (int argc, char *argv[])
{
// ORB.
CORBA::ORB_var orb =
- CORBA::ORB_init (argc, argv, "");
+ CORBA::ORB_init (argc, argv);
// Parse arguments.
if (parse_args (argc, argv) != 0)