diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp index 605737a275e..9239f86cc09 100644 --- a/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp +++ b/TAO/orbsvcs/orbsvcs/CosEvent/ProxyPushSupplier_i.cpp @@ -32,12 +32,10 @@ public: // Destructor. virtual void push (const RtecEventComm::EventSet & data, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Environment &ACE_TRY_ENV); // This method is called by the RTEvent Channel to supply data. - virtual void disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV); // Disconnects the consumer from the event channel. private: @@ -64,7 +62,6 @@ TAO_CosEC_PushConsumerWrapper::~TAO_CosEC_PushConsumerWrapper () void TAO_CosEC_PushConsumerWrapper::push (const RtecEventComm::EventSet& set, CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) { for (CORBA::ULong i = 0; i < set.length (); @@ -75,7 +72,6 @@ TAO_CosEC_PushConsumerWrapper::push (const RtecEventComm::EventSet& set, void TAO_CosEC_PushConsumerWrapper::disconnect_push_consumer (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) { // Deactivate the supplier proxy. this->consumer_->disconnect_push_consumer (ACE_TRY_ENV); @@ -115,7 +111,6 @@ TAO_CosEC_ProxyPushSupplier_i::~TAO_CosEC_ProxyPushSupplier_i (void) void TAO_CosEC_ProxyPushSupplier_i::disconnect_push_supplier (CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException)) { this->pps_->disconnect_push_supplier (ACE_TRY_ENV); ACE_CHECK; @@ -139,11 +134,9 @@ TAO_CosEC_ProxyPushSupplier_i::disconnect_push_supplier (CORBA::Environment &ACE } void -TAO_CosEC_ProxyPushSupplier_i::connect_push_consumer (CosEventComm::PushConsumer_ptr push_consumer, - CORBA::Environment &ACE_TRY_ENV) - ACE_THROW_SPEC ((CORBA::SystemException, - CosEventChannelAdmin::AlreadyConnected, - CosEventChannelAdmin::TypeError)) +TAO_CosEC_ProxyPushSupplier_i::connect_push_consumer +(CosEventComm::PushConsumer_ptr push_consumer, + CORBA::Environment &ACE_TRY_ENV) { if (this->connected ()) ACE_THROW (CosEventChannelAdmin::AlreadyConnected ()); |