diff options
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.inl | 14 |
1 files changed, 2 insertions, 12 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 52bca678d8c..7c266f21c6b 100644 --- a/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl +++ b/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl @@ -9,23 +9,13 @@ 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 - // then this constructor needs deal with the exception. - try - { - this->servant_->_add_ref (); - } - catch (...) - { - } + this->servant_->_add_ref (); } ACE_INLINE void -TAO::CSD::TP_Custom_Request_Operation::execute() +TAO::CSD::TP_Custom_Request_Operation::execute (void) { this->execute_i(); } |