summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples
diff options
context:
space:
mode:
authorpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-19 16:24:55 +0000
committerpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-19 16:24:55 +0000
commit3e783cc392a459dbb358d99e4f04217bf92eea88 (patch)
tree85eaaa9e606f2e6da0b06b756754b3431a9fbb85 /TAO/orbsvcs/examples
parentb4d2afe2acaaefbedc68ffaecc2dc2cee17cba37 (diff)
downloadATCD-3e783cc392a459dbb358d99e4f04217bf92eea88.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/orbsvcs/examples')
-rw-r--r--TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory.idl4
-rw-r--r--TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp3
-rw-r--r--TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h3
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