diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-29 22:59:36 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-29 22:59:36 +0000 |
commit | 38922ac3ed745bb7d0b465ac8f844e03e6458bc5 (patch) | |
tree | 95fcdd42f40311e0f0deb0824f6fa1d6679c1ed1 | |
parent | 97b2f1246f606c28bd58487e83b628e0759aa2ac (diff) | |
download | ATCD-38922ac3ed745bb7d0b465ac8f844e03e6458bc5.tar.gz |
Fixed throw specs.
-rw-r--r-- | TAO/tests/Interceptors/test_i.cpp | 3 | ||||
-rw-r--r-- | TAO/tests/Interceptors/test_i.h | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/TAO/tests/Interceptors/test_i.cpp b/TAO/tests/Interceptors/test_i.cpp index 4bf1fcc368e..7de086d3a4b 100644 --- a/TAO/tests/Interceptors/test_i.cpp +++ b/TAO/tests/Interceptors/test_i.cpp @@ -13,12 +13,14 @@ Visual_i::Visual_i (CORBA::ORB_ptr orb) void Visual_i::normal (CORBA::Long arg, CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_DEBUG ((LM_DEBUG, "Visual::normal called with %d\n", arg)); } void Visual_i::nothing (CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_DEBUG ((LM_DEBUG, "Visual::nothing\n")); } @@ -33,6 +35,7 @@ Visual_i::user (CORBA::Environment &ACE_TRY_ENV) void Visual_i::system (CORBA::Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_DEBUG ((LM_DEBUG, "Visual::user, throwning INV_OBJREF\n")); ACE_THROW (CORBA::INV_OBJREF ()); diff --git a/TAO/tests/Interceptors/test_i.h b/TAO/tests/Interceptors/test_i.h index 75d2283834f..eab5e203fa5 100644 --- a/TAO/tests/Interceptors/test_i.h +++ b/TAO/tests/Interceptors/test_i.h @@ -30,14 +30,17 @@ public: // ctor void normal (CORBA::Long arg, - CORBA::Environment&); + CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)); - void nothing (CORBA::Environment&); + void nothing (CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)); void user (CORBA::Environment&) ACE_THROW_SPEC ((CORBA::SystemException,Test_Interceptors::Silly)); - void system (CORBA::Environment&); + void system (CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)); void shutdown (CORBA::Environment&) ACE_THROW_SPEC (()); |