diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-12 11:52:38 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-12 11:52:38 +0000 |
commit | 4a94bf9e8e96ce495aedaf6ef0829e42a4489742 (patch) | |
tree | b1209abef436be321023aa6100646e884be3ada9 /TAO/tests/Native_Exceptions | |
parent | 1a4c23d60cf23b6e97877d6ecf77142e95e7b1fc (diff) | |
download | ATCD-4a94bf9e8e96ce495aedaf6ef0829e42a4489742.tar.gz |
Mon Feb 12 11:40:14 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Native_Exceptions')
-rw-r--r-- | TAO/tests/Native_Exceptions/test_i.cpp | 3 | ||||
-rw-r--r-- | TAO/tests/Native_Exceptions/test_i.h | 6 |
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)); |