summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp')
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp45
1 files changed, 0 insertions, 45 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp b/TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp
index de8c5c5b9e8..e749ebdab9f 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp
@@ -24,7 +24,6 @@ Foo_i::~Foo_i()
void
Foo_i::op1(void)
- ACE_THROW_SPEC((CORBA::SystemException))
{
++this->count_op1_;
// Sleep for 10 milliseconds (10,000 microseconds)
@@ -34,7 +33,6 @@ Foo_i::op1(void)
void
Foo_i::op2(CORBA::Long value)
- ACE_THROW_SPEC((CORBA::SystemException))
{
++this->count_op2_;
this->value_ = value;
@@ -43,7 +41,6 @@ Foo_i::op2(CORBA::Long value)
CORBA::Long
Foo_i::op3(void)
- ACE_THROW_SPEC((CORBA::SystemException))
{
++this->count_op3_;
@@ -58,7 +55,6 @@ Foo_i::op3(void)
void
Foo_i::op4(CORBA::Long value)
- ACE_THROW_SPEC((CORBA::SystemException))
{
++this->count_op4_;
this->value_ = value;
@@ -77,7 +73,6 @@ Foo_i::op4(CORBA::Long value)
void
Foo_i::op5(void)
- ACE_THROW_SPEC((CORBA::SystemException, FooException))
{
++this->count_op5_;
throw FooException();
@@ -89,9 +84,6 @@ Foo_i::op6 (
const char * user_name,
char *& message
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
ACE_CString str(message);
str += user_name;
@@ -105,9 +97,6 @@ void
Foo_i::test_unbounded_string_arg (
const char * message
)
-ACE_THROW_SPEC ((
-CORBA::SystemException
-))
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_unbounded_string_arg ")
ACE_TEXT("got unbounded string %s\n"),
@@ -119,9 +108,6 @@ void
Foo_i::test_bounded_string_arg (
const char * message
)
-ACE_THROW_SPEC ((
-CORBA::SystemException
-))
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_bounded_string_arg ")
ACE_TEXT("got bounded string %s\n"),
@@ -133,9 +119,6 @@ void
Foo_i::test_fixed_array_arg (
const ::Fixed_Array message
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
for (CORBA::ULong i = 0; i < 20; i++)
{
@@ -150,9 +133,6 @@ void
Foo_i::test_bounded_var_size_arg (
const ::Bounded_Var_Size & message
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_bounded_var_size_arg ")
ACE_TEXT("got var array chars %s\n"),
@@ -164,9 +144,6 @@ void
Foo_i::test_unbounded_var_size_arg (
const ::Unbounded_Var_Size & message
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_unbounded_var_size_arg ")
ACE_TEXT("got var array chars %s\n"),
@@ -178,9 +155,6 @@ void
Foo_i::test_fixed_size_arg (
const ::TimeOfDay & t
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_fixed_size_arg ")
ACE_TEXT("got timeofday %d:%d:%d\n"),
@@ -191,9 +165,6 @@ void
Foo_i::test_fixed_size_arg_two_way (
const ::TimeOfDay & t
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_fixed_size_arg_two_way ")
ACE_TEXT("got timeofday %d:%d:%d\n"),
@@ -204,9 +175,6 @@ void
Foo_i::test_var_array_arg (
const ::Var_Array messages
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_var_array_arg ")
ACE_TEXT(" %s \n"), messages[0].in ()));
@@ -221,9 +189,6 @@ void
Foo_i::test_special_basic_arg (
::CORBA::Boolean value
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_special_basic_arg ")
ACE_TEXT(" got special basic arg: %d \n"), value));
@@ -234,9 +199,6 @@ void
Foo_i::test_objref_arg (
::Callback_ptr cb
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
this->callback_ = Callback::_duplicate (cb);
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_objref_arg ")
@@ -248,9 +210,6 @@ void
Foo_i::callback_object (
::Callback_ptr cb
)
-ACE_THROW_SPEC ((
- CORBA::SystemException
-))
{
this->callback_ = Callback::_duplicate (cb);
}
@@ -258,9 +217,6 @@ ACE_THROW_SPEC ((
void
Foo_i::test_callback (
)
-ACE_THROW_SPEC ((
- CORBA::SystemException, FooException
-))
{
if (CORBA::is_nil (this->callback_.in ()))
{
@@ -275,7 +231,6 @@ ACE_THROW_SPEC ((
void
Foo_i::done(void)
- ACE_THROW_SPEC((CORBA::SystemException))
{
this->mgr_->client_done();
}