diff options
author | pradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-19 16:24:55 +0000 |
---|---|---|
committer | pradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-19 16:24:55 +0000 |
commit | 3e783cc392a459dbb358d99e4f04217bf92eea88 (patch) | |
tree | 85eaaa9e606f2e6da0b06b756754b3431a9fbb85 /TAO/orbsvcs/examples | |
parent | b4d2afe2acaaefbedc68ffaecc2dc2cee17cba37 (diff) | |
download | ATCD-3e783cc392a459dbb358d99e4f04217bf92eea88.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/orbsvcs/examples')
3 files changed, 7 insertions, 3 deletions
diff --git a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl index 0fc19f99056..9e68302b882 100644 --- a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl +++ b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl @@ -52,10 +52,12 @@ module CosEventChannelFactory CosEventChannelAdmin::EventChannel create ( in string channel_id, - in boolean store_in_naming_service) raises (DuplicateChannel); + in boolean store_in_naming_service) raises (DuplicateChannel, BindFailed); // Creates a CosEventChannel given a channel id. // The DuplicateChannel exception is raised if the channel // already exists. + // BindFailed is raised if we failed to register the newly created channel + // with the naming service. void destroy ( in string channel_id, diff --git a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp index f01f4f49b99..808b0c0cef9 100644 --- a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp +++ b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp @@ -80,7 +80,8 @@ TAO_CosEventChannelFactory_i::create (const char * channel_id, CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC (( CORBA::SystemException, - CosEventChannelFactory::DuplicateChannel + CosEventChannelFactory::DuplicateChannel, + CosEventChannelFactory::BindFailed )) { ACE_ASSERT (!CORBA::is_nil (this->poa_.in ())); diff --git a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h index 58a29c5ea16..4ca3fab24fe 100644 --- a/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h +++ b/TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h @@ -66,7 +66,8 @@ class TAO_CosEventChannelFactory_i : ) ACE_THROW_SPEC (( CORBA::SystemException, - CosEventChannelFactory::DuplicateChannel + CosEventChannelFactory::DuplicateChannel, + CosEventChannelFactory::BindFailed )); virtual void destroy |