summaryrefslogtreecommitdiff
path: root/TAO/tests/Native_Exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Native_Exceptions')
-rw-r--r--TAO/tests/Native_Exceptions/test_i.cpp3
-rw-r--r--TAO/tests/Native_Exceptions/test_i.h6
2 files changed, 2 insertions, 7 deletions
diff --git a/TAO/tests/Native_Exceptions/test_i.cpp b/TAO/tests/Native_Exceptions/test_i.cpp
index 7712b291889..7e229bfb378 100644
--- a/TAO/tests/Native_Exceptions/test_i.cpp
+++ b/TAO/tests/Native_Exceptions/test_i.cpp
@@ -10,14 +10,12 @@ ACE_RCSID(Native_Exceptions, test_i, "$Id$")
CORBA::Long
Simple_Server_i::test_method (CORBA::Long x)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
return x;
}
CORBA::Long
Simple_Server_i::test_raise (CORBA::Long x)
- ACE_THROW_SPEC ((Simple_Server::Failure))
{
ACE_UNUSED_ARG (x);
throw Simple_Server::Failure ();
@@ -29,7 +27,6 @@ Simple_Server_i::test_raise (CORBA::Long x)
void
Simple_Server_i::shutdown (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown ();
}
diff --git a/TAO/tests/Native_Exceptions/test_i.h b/TAO/tests/Native_Exceptions/test_i.h
index a90cc1d877a..1c3e6e973ef 100644
--- a/TAO/tests/Native_Exceptions/test_i.h
+++ b/TAO/tests/Native_Exceptions/test_i.h
@@ -31,11 +31,9 @@ public:
// ctor
// = The Simple_Server methods.
- CORBA::Long test_method (CORBA::Long x)
- ACE_THROW_SPEC((CORBA::SystemException));
+ CORBA::Long test_method (CORBA::Long x);
- CORBA::Long test_raise (CORBA::Long x)
- ACE_THROW_SPEC ((Simple_Server::Failure));
+ CORBA::Long test_raise (CORBA::Long x);
void shutdown (void) ACE_THROW_SPEC ((CORBA::SystemException));