summaryrefslogtreecommitdiff
path: root/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl')
-rw-r--r--TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl14
1 files changed, 6 insertions, 8 deletions
diff --git a/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl b/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl
index 6a05c5df7ee..52bca678d8c 100644
--- a/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl
+++ b/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl
@@ -9,19 +9,17 @@ TAO::CSD::TP_Custom_Request_Operation::TP_Custom_Request_Operation
(PortableServer::Servant servant)
: servant_ (servant)
{
- // This try-catch block is not really necessary for current implementation
- // since the _add_ref does not throw exception, but we have to add it to
- // satisfy the non-exception builds. If _add_ref really throws an exception
+ // This try-catch block is not really necessary for current implementation
+ // since the _add_ref does not throw exception, but we have to add it to
+ // satisfy the non-exception builds. If _add_ref really throws an exception
// then this constructor needs deal with the exception.
- ACE_TRY_NEW_ENV
+ try
{
- this->servant_->_add_ref (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ this->servant_->_add_ref ();
}
- ACE_CATCHALL
+ catch (...)
{
}
- ACE_ENDTRY;
}