diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-09-24 08:53:03 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-09-24 08:53:03 +0000 |
commit | b699c4997419177823fce54c7d0a5404fbcf240a (patch) | |
tree | c9e940cc5917ad59f613e1f13f8756c34d1ae10f /TAO/tests | |
parent | 658fbc559a7f9b76961b139059a5687e02160765 (diff) | |
download | ATCD-b699c4997419177823fce54c7d0a5404fbcf240a.tar.gz |
Fixed compile-time problems.
Diffstat (limited to 'TAO/tests')
-rw-r--r-- | TAO/tests/Portable_Interceptors/PICurrent/ServerRequestInterceptor.cpp | 4 | ||||
-rw-r--r-- | TAO/tests/Portable_Interceptors/PICurrent/test_i.cpp | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/TAO/tests/Portable_Interceptors/PICurrent/ServerRequestInterceptor.cpp b/TAO/tests/Portable_Interceptors/PICurrent/ServerRequestInterceptor.cpp index be970a885c6..dae6f2b6a99 100644 --- a/TAO/tests/Portable_Interceptors/PICurrent/ServerRequestInterceptor.cpp +++ b/TAO/tests/Portable_Interceptors/PICurrent/ServerRequestInterceptor.cpp @@ -68,7 +68,7 @@ ServerRequestInterceptor::receive_request_service_contexts ( } ACE_ENDTRY; ACE_CHECK; - + ACE_DEBUG ((LM_DEBUG, "(%P|%t) Inserted number <%d> into RSC.\n", number)); @@ -139,7 +139,7 @@ ServerRequestInterceptor::send_reply ( "(%P|%t) Unable to extract data (a string) " "from the RSC.\n")); - ACE_THROW ((CORBA::INTERNAL ())); + ACE_THROW (CORBA::INTERNAL ()); } } diff --git a/TAO/tests/Portable_Interceptors/PICurrent/test_i.cpp b/TAO/tests/Portable_Interceptors/PICurrent/test_i.cpp index 2dab4c97561..e63cb163f44 100644 --- a/TAO/tests/Portable_Interceptors/PICurrent/test_i.cpp +++ b/TAO/tests/Portable_Interceptors/PICurrent/test_i.cpp @@ -74,7 +74,7 @@ test_i::invoke_me (CORBA::Environment &ACE_TRY_ENV) "(%P|%t) Problem extracting data from " "CORBA::Any retrieved from TSC.\n")); - ACE_THROW ((CORBA::INTERNAL ())); + ACE_THROW (CORBA::INTERNAL ()); } // ---------------------------------------------------- @@ -85,7 +85,8 @@ test_i::invoke_me (CORBA::Environment &ACE_TRY_ENV) data <<= str; - ACE_TRY + + ACE_TRY_EX (foo) { this->current_->set_slot (this->slot_id_, data, ACE_TRY_ENV); ACE_TRY_CHECK; @@ -101,7 +102,7 @@ test_i::invoke_me (CORBA::Environment &ACE_TRY_ENV) "Invalid slot: %u\n", this->slot_id_)); - ACE_TRY_THROW (CORBA::INTERNAL ()); + ACE_TRY_THROW_EX (CORBA::INTERNAL (), foo); } ACE_ENDTRY; ACE_CHECK; |