diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancer_i.i')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancer_i.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancer_i.i b/TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancer_i.i index 88ab6a81532..b801158aae4 100644 --- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancer_i.i +++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancer_i.i @@ -6,14 +6,22 @@ ACE_INLINE void TAO_LB_LoadBalancer::disconnect (TAO_LB_ReplicaProxy *proxy, CORBA::Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)) { + // @@ Ossama, what is the we cannot raise that exception here! + + (void) this->strategy_->remove (proxy); + +#if 0 if (this->strategy_->remove (proxy) != 0) ACE_THROW (LoadBalancing::LoadBalancer::InvalidReplicaProxy ()); +#endif /* 0 */ } ACE_INLINE CORBA::Object_ptr TAO_LB_LoadBalancer::replica (CORBA::Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)) { return this->strategy_->replica (ACE_TRY_ENV); } |