summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Processing_Mode_Policy
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-02-12 11:52:38 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-02-12 11:52:38 +0000
commit4a94bf9e8e96ce495aedaf6ef0829e42a4489742 (patch)
treeb1209abef436be321023aa6100646e884be3ada9 /TAO/tests/Portable_Interceptors/Processing_Mode_Policy
parent1a4c23d60cf23b6e97877d6ecf77142e95e7b1fc (diff)
downloadATCD-4a94bf9e8e96ce495aedaf6ef0829e42a4489742.tar.gz
Mon Feb 12 11:40:14 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Processing_Mode_Policy')
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.cpp2
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.h6
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.cpp21
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.h55
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.cpp5
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h15
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.cpp2
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.h6
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.cpp2
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.h6
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.cpp10
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.h26
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp11
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.h29
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.cpp5
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.h15
16 files changed, 44 insertions, 172 deletions
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.cpp
index ff60616bcad..0eb892fe7f8 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.cpp
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.cpp
@@ -19,14 +19,12 @@ Echo_Collocated_ORBInitializer::Echo_Collocated_ORBInitializer (
void
Echo_Collocated_ORBInitializer::pre_init (
PortableInterceptor::ORBInitInfo_ptr)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
}
void
Echo_Collocated_ORBInitializer::post_init (
PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
CORBA::String_var orb_id =
info->orb_id ();
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.h b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.h
index 20ccaf9ce43..0280f393533 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.h
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Echo_Collocated_ORBInitializer.h
@@ -35,11 +35,9 @@ public:
(PortableInterceptor::ProcessingMode server_proc_mode,
PortableInterceptor::ProcessingMode client_proc_mode);
- virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
- virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
private:
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.cpp
index 90b479eda64..3525ebbcd07 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.cpp
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.cpp
@@ -29,14 +29,12 @@ Echo_Client_Request_Interceptor::~Echo_Client_Request_Interceptor ()
char *
Echo_Client_Request_Interceptor::name (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::string_dup (this->myname_);
}
void
Echo_Client_Request_Interceptor::destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
}
@@ -44,7 +42,6 @@ void
Echo_Client_Request_Interceptor::send_poll (
PortableInterceptor::ClientRequestInfo_ptr
)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// Do nothing
}
@@ -52,8 +49,6 @@ Echo_Client_Request_Interceptor::send_poll (
void
Echo_Client_Request_Interceptor::send_request (
PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
CORBA::String_var op =
ri->operation ();
@@ -91,8 +86,6 @@ Echo_Client_Request_Interceptor::send_request (
void
Echo_Client_Request_Interceptor::receive_other (
PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
CORBA::String_var op = ri->operation ();
@@ -111,7 +104,6 @@ Echo_Client_Request_Interceptor::receive_other (
void
Echo_Client_Request_Interceptor::receive_reply (
PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
CORBA::String_var op = ri->operation ();
@@ -164,8 +156,6 @@ Echo_Client_Request_Interceptor::receive_reply (
void
Echo_Client_Request_Interceptor::receive_exception (
PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
CORBA::String_var op = ri->operation ();
@@ -200,30 +190,24 @@ Echo_Server_Request_Interceptor::~Echo_Server_Request_Interceptor ()
char *
Echo_Server_Request_Interceptor::name (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::string_dup (this->myname_);
}
void
Echo_Server_Request_Interceptor::destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
}
void
Echo_Server_Request_Interceptor::receive_request_service_contexts (
PortableInterceptor::ServerRequestInfo_ptr)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
}
void
Echo_Server_Request_Interceptor::receive_request (
PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
CORBA::String_var op = ri->operation ();
@@ -268,7 +252,6 @@ Echo_Server_Request_Interceptor::receive_request (
void
Echo_Server_Request_Interceptor::send_reply (
PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
CORBA::String_var op = ri->operation ();
@@ -323,8 +306,6 @@ Echo_Server_Request_Interceptor::send_reply (
void
Echo_Server_Request_Interceptor::send_exception (
PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
CORBA::String_var op = ri->operation ();
@@ -356,8 +337,6 @@ Echo_Server_Request_Interceptor::send_exception (
void
Echo_Server_Request_Interceptor::send_other (
PortableInterceptor::ServerRequestInfo_ptr)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
++server_interceptor_check_;
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.h b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.h
index 26521b44c3c..ab7fc5e820a 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.h
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/interceptors.h
@@ -32,36 +32,24 @@ public:
virtual ~Echo_Client_Request_Interceptor ();
// dtor.
- virtual char * name (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual char * name (void);
// Canonical name of the interceptor.
- virtual void destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void destroy (void);
virtual void send_poll (
- PortableInterceptor::ClientRequestInfo_ptr)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ PortableInterceptor::ClientRequestInfo_ptr);
- virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest));
+ virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri);
virtual void receive_other (
PortableInterceptor::ClientRequestInfo_ptr
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- PortableInterceptor::ForwardRequest
- ));
+ );
- virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri);
virtual void receive_exception (
- PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest));
+ PortableInterceptor::ClientRequestInfo_ptr ri);
// Some identifiers that are used for error checking
static CORBA::ULong client_interceptor_check_;
@@ -80,38 +68,23 @@ public:
~Echo_Server_Request_Interceptor ();
// dotr.
- virtual char * name (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual char * name (void);
// Canonical name of the interceptor.
- virtual void destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void destroy (void);
virtual void receive_request_service_contexts (
- PortableInterceptor::ServerRequestInfo_ptr)
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- PortableInterceptor::ForwardRequest
- ));
+ PortableInterceptor::ServerRequestInfo_ptr);
- virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest));
+ virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri);
- virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri);
- virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest));
+ virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri);
virtual void send_other (
PortableInterceptor::ServerRequestInfo_ptr
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- PortableInterceptor::ForwardRequest
- ));
+ );
// Some identifiers that are used for error checking
static CORBA::ULong server_interceptor_check_;
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.cpp
index 10d6a5c709b..547a8c5366c 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.cpp
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.cpp
@@ -13,7 +13,6 @@ Visual_i::Visual_i (CORBA::ORB_ptr orb)
void
Visual_i::normal (CORBA::Long)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// ACE_DEBUG ((LM_DEBUG, "Visual::normal called with %d\n", arg));
}
@@ -21,7 +20,6 @@ Visual_i::normal (CORBA::Long)
CORBA::Long
Visual_i::calculate (CORBA::Long one,
CORBA::Long two)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// ACE_DEBUG ((LM_DEBUG, "Visual::calculate\n"));
return (one + two);
@@ -29,7 +27,6 @@ Visual_i::calculate (CORBA::Long one,
void
Visual_i::user (void)
- ACE_THROW_SPEC ((CORBA::SystemException,Test_Interceptors::Silly))
{
// ACE_DEBUG ((LM_DEBUG, "Visual::user, throwning Silly\n"));
throw Test_Interceptors::Silly ();
@@ -37,7 +34,6 @@ Visual_i::user (void)
void
Visual_i::system (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// ACE_DEBUG ((LM_DEBUG, "Visual::user, throwing INV_OBJREF\n"));
throw CORBA::INV_OBJREF ();
@@ -45,7 +41,6 @@ Visual_i::system (void)
void
Visual_i::shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
this->_remove_ref ();
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h
index 841d3ef41df..2ccfe475b5f 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h
@@ -27,22 +27,17 @@ public:
Visual_i (CORBA::ORB_ptr orb);
// ctor
- void normal (CORBA::Long arg)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void normal (CORBA::Long arg);
CORBA::Long calculate (
CORBA::Long one,
- CORBA::Long two)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Long two);
- void user (void)
- ACE_THROW_SPEC ((CORBA::SystemException,Test_Interceptors::Silly));
+ void user (void);
- void system (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void system (void);
- void shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void shutdown (void);
private:
CORBA::ORB_var orb_;
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.cpp
index 97154274ed7..6aca7e80aac 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.cpp
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.cpp
@@ -17,14 +17,12 @@ Echo_Client_ORBInitializer::Echo_Client_ORBInitializer (
void
Echo_Client_ORBInitializer::pre_init (
PortableInterceptor::ORBInitInfo_ptr)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
}
void
Echo_Client_ORBInitializer::post_init (
PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// TAO-Specific way to get to the ORB Core (and thus, the ORB).
TAO_ORBInitInfo_var tao_info =
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.h b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.h
index ad6ce6e6549..55004810ad0 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.h
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Client_ORBInitializer.h
@@ -35,11 +35,9 @@ public:
Echo_Client_ORBInitializer
(PortableInterceptor::ProcessingMode proc_mode);
- virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
- virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
private:
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.cpp
index be6737a8e45..dc9f9092a96 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.cpp
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.cpp
@@ -17,14 +17,12 @@ Echo_Server_ORBInitializer::Echo_Server_ORBInitializer (
void
Echo_Server_ORBInitializer::pre_init (
PortableInterceptor::ORBInitInfo_ptr)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
}
void
Echo_Server_ORBInitializer::post_init (
PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
CORBA::String_var orb_id =
info->orb_id ();
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.h b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.h
index c0e4e83fda7..190fb9f8dd4 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.h
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/Echo_Server_ORBInitializer.h
@@ -34,11 +34,9 @@ public:
Echo_Server_ORBInitializer
(PortableInterceptor::ProcessingMode proc_mode);
- virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
- virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
private:
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.cpp
index 14b1bef3587..a0ce7f47f0d 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.cpp
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.cpp
@@ -26,14 +26,12 @@ Echo_Client_Request_Interceptor::~Echo_Client_Request_Interceptor ()
char *
Echo_Client_Request_Interceptor::name (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::string_dup (this->myname_);
}
void
Echo_Client_Request_Interceptor::destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
}
@@ -41,7 +39,6 @@ void
Echo_Client_Request_Interceptor::send_poll (
PortableInterceptor::ClientRequestInfo_ptr
)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// Do nothing
}
@@ -49,8 +46,6 @@ Echo_Client_Request_Interceptor::send_poll (
void
Echo_Client_Request_Interceptor::send_request (
PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
client_interceptor_check_++;
@@ -84,8 +79,6 @@ Echo_Client_Request_Interceptor::send_request (
void
Echo_Client_Request_Interceptor::receive_other (
PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
client_interceptor_check_++;
@@ -100,7 +93,6 @@ Echo_Client_Request_Interceptor::receive_other (
void
Echo_Client_Request_Interceptor::receive_reply (
PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
client_interceptor_check_++;
@@ -148,8 +140,6 @@ Echo_Client_Request_Interceptor::receive_reply (
void
Echo_Client_Request_Interceptor::receive_exception (
PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
client_interceptor_check_++;
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.h b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.h
index 1f4d73fbdd2..d1b6b22f9f3 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.h
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_interceptor.h
@@ -31,36 +31,24 @@ public:
virtual ~Echo_Client_Request_Interceptor ();
// dtor.
- virtual char * name (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual char * name (void);
// Canonical name of the interceptor.
- virtual void destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void destroy (void);
virtual void send_poll (
- PortableInterceptor::ClientRequestInfo_ptr)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ PortableInterceptor::ClientRequestInfo_ptr);
- virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest));
+ virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri);
virtual void receive_other (
PortableInterceptor::ClientRequestInfo_ptr
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- PortableInterceptor::ForwardRequest
- ));
+ );
- virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri);
virtual void receive_exception (
- PortableInterceptor::ClientRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest));
+ PortableInterceptor::ClientRequestInfo_ptr ri);
// Some identifiers that are used for error checking
static CORBA::ULong client_interceptor_check_;
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp
index 4ad894b3f41..d7266e7638d 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp
@@ -26,30 +26,24 @@ Echo_Server_Request_Interceptor::~Echo_Server_Request_Interceptor ()
char *
Echo_Server_Request_Interceptor::name (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::string_dup (this->myname_);
}
void
Echo_Server_Request_Interceptor::destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
}
void
Echo_Server_Request_Interceptor::receive_request_service_contexts (
PortableInterceptor::ServerRequestInfo_ptr)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
}
void
Echo_Server_Request_Interceptor::receive_request (
PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
++server_interceptor_check_;
@@ -89,7 +83,6 @@ Echo_Server_Request_Interceptor::receive_request (
void
Echo_Server_Request_Interceptor::send_reply (
PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
++server_interceptor_check_;
@@ -139,8 +132,6 @@ Echo_Server_Request_Interceptor::send_reply (
void
Echo_Server_Request_Interceptor::send_exception (
PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
CORBA::String_var op = ri->operation ();
@@ -174,8 +165,6 @@ Echo_Server_Request_Interceptor::send_exception (
void
Echo_Server_Request_Interceptor::send_other (
PortableInterceptor::ServerRequestInfo_ptr)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest))
{
++server_interceptor_check_;
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.h b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.h
index 51b6ba53736..eef328e94dc 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.h
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.h
@@ -31,38 +31,23 @@ public:
~Echo_Server_Request_Interceptor ();
// dotr.
- virtual char * name (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual char * name (void);
// Canonical name of the interceptor.
- virtual void destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void destroy (void);
virtual void receive_request_service_contexts (
- PortableInterceptor::ServerRequestInfo_ptr)
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- PortableInterceptor::ForwardRequest
- ));
+ PortableInterceptor::ServerRequestInfo_ptr);
- virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest));
+ virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri);
- virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri);
- virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri)
- ACE_THROW_SPEC ((CORBA::SystemException,
- PortableInterceptor::ForwardRequest));
+ virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri);
virtual void send_other (
PortableInterceptor::ServerRequestInfo_ptr
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- PortableInterceptor::ForwardRequest
- ));
+ );
// Some identifiers that are used for error checking
static CORBA::ULong server_interceptor_check_;
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.cpp
index 9b5c7b32e41..af6f50de15c 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.cpp
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.cpp
@@ -12,7 +12,6 @@ Visual_i::Visual_i (CORBA::ORB_ptr orb)
void
Visual_i::normal (CORBA::Long)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// ACE_DEBUG ((LM_DEBUG, "Visual::normal called with %d\n", arg));
}
@@ -20,7 +19,6 @@ Visual_i::normal (CORBA::Long)
CORBA::Long
Visual_i::calculate (CORBA::Long one,
CORBA::Long two)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// ACE_DEBUG ((LM_DEBUG, "Visual::calculate\n"));
return (one + two);
@@ -28,7 +26,6 @@ Visual_i::calculate (CORBA::Long one,
void
Visual_i::user (void)
- ACE_THROW_SPEC ((CORBA::SystemException,Test_Interceptors::Silly))
{
// ACE_DEBUG ((LM_DEBUG, "Visual::user, throwning Silly\n"));
throw Test_Interceptors::Silly ();
@@ -36,7 +33,6 @@ Visual_i::user (void)
void
Visual_i::system (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
// ACE_DEBUG ((LM_DEBUG, "Visual::user, throwing INV_OBJREF\n"));
throw CORBA::INV_OBJREF ();
@@ -44,7 +40,6 @@ Visual_i::system (void)
void
Visual_i::shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
this->_remove_ref ();
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.h b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.h
index 841d3ef41df..2ccfe475b5f 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.h
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/test_i.h
@@ -27,22 +27,17 @@ public:
Visual_i (CORBA::ORB_ptr orb);
// ctor
- void normal (CORBA::Long arg)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void normal (CORBA::Long arg);
CORBA::Long calculate (
CORBA::Long one,
- CORBA::Long two)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Long two);
- void user (void)
- ACE_THROW_SPEC ((CORBA::SystemException,Test_Interceptors::Silly));
+ void user (void);
- void system (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void system (void);
- void shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void shutdown (void);
private:
CORBA::ORB_var orb_;