Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / CSD_ThreadPool / CSD_TP_Collocated_Synch_Request.cpp
blob7352a02eb3a1f2337c54aed0df8934678214581e
1 #include "tao/CSD_ThreadPool/CSD_TP_Collocated_Synch_Request.h"
2 #include "tao/ORB_Core.h"
4 #if !defined (__ACE_INLINE__)
5 # include "tao/CSD_ThreadPool/CSD_TP_Collocated_Synch_Request.inl"
6 #endif /* ! __ACE_INLINE__ */
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 TAO::CSD::TP_Collocated_Synch_Request::~TP_Collocated_Synch_Request()
15 void
16 TAO::CSD::TP_Collocated_Synch_Request::dispatch_i()
18 try
20 this->do_dispatch();
22 catch (const ::CORBA::Exception& ex)
24 // We need to save off a copy of the exception.
25 this->exception_ = ex._tao_duplicate();
27 catch (...)
29 ACE_NEW (this->exception_ ,
30 CORBA::UNKNOWN (CORBA::SystemException::_tao_minor_code
31 (TAO_UNHANDLED_SERVER_CXX_EXCEPTION, 0),
32 CORBA::COMPLETED_MAYBE));
35 this->synch_helper_.dispatched();
38 void
39 TAO::CSD::TP_Collocated_Synch_Request::cancel_i()
41 this->synch_helper_.cancelled();
44 TAO_END_VERSIONED_NAMESPACE_DECL