summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-03-16 18:47:46 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-03-16 18:47:46 +0000
commit25146caa30123d5d848ae48d4f3043c6597f701b (patch)
treecfd40df76e94f99bab0d0f0620f336476044de5a
parentce2a9d541a05f779b20f7c3b4cc30c26885fc15b (diff)
downloadATCD-25146caa30123d5d848ae48d4f3043c6597f701b.tar.gz
ChangeLogTag: Wed Mar 16 12:39:21 2005 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r--TAO/CIAO/DAnCE/ChangeLog12
-rw-r--r--TAO/CIAO/DAnCE/ciao/UpgradeableContext.idl3
-rw-r--r--TAO/CIAO/DAnCE/ciao/Upgradeable_Context_Impl_T.h6
3 files changed, 18 insertions, 3 deletions
diff --git a/TAO/CIAO/DAnCE/ChangeLog b/TAO/CIAO/DAnCE/ChangeLog
index f7779010dd8..e6e0f9972f5 100644
--- a/TAO/CIAO/DAnCE/ChangeLog
+++ b/TAO/CIAO/DAnCE/ChangeLog
@@ -1,3 +1,15 @@
+Wed Mar 16 12:39:21 2005 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * ciao/UpgradeableContext.idl:
+ * ciao/Upgradeable_Context_Impl_T.h:
+
+ Added Components::InvalidName and Components::InvalidConnection
+ exceptions to the exception list of the get_registered_consumers()
+ operation. The actual implementation of this operation,
+ generated by the CIDL compiler, uses them to check for a
+ null publisher name argument, corrupt table of consumers,
+ or a failed narrow from the result of a table lookup.
+
Fri Mar 11 16:46:17 2005 Jaiganesh B <jai@dre.vanderbilt.edu>
* ciao/Swapping_Servant_Home_Impl_Base.cpp:
diff --git a/TAO/CIAO/DAnCE/ciao/UpgradeableContext.idl b/TAO/CIAO/DAnCE/ciao/UpgradeableContext.idl
index 3783d69d89e..d07cae8b447 100644
--- a/TAO/CIAO/DAnCE/ciao/UpgradeableContext.idl
+++ b/TAO/CIAO/DAnCE/ciao/UpgradeableContext.idl
@@ -9,7 +9,8 @@ module CIAO
local interface UpgradeableContext : ::Components::SessionContext
{
::Components::ConsumerDescriptions get_registered_consumers
- (in ::Components::FeatureName publisher_name);
+ (in ::Components::FeatureName publisher_name)
+ raises (::Components::InvalidName, ::Components::InvalidConnection);
void deactivate_facet (in ::Components::FeatureName name);
void update_port_activator (in ::Components::FeatureName name);
};
diff --git a/TAO/CIAO/DAnCE/ciao/Upgradeable_Context_Impl_T.h b/TAO/CIAO/DAnCE/ciao/Upgradeable_Context_Impl_T.h
index 8915d77415b..80cfaf74274 100644
--- a/TAO/CIAO/DAnCE/ciao/Upgradeable_Context_Impl_T.h
+++ b/TAO/CIAO/DAnCE/ciao/Upgradeable_Context_Impl_T.h
@@ -55,8 +55,10 @@ namespace CIAO
virtual ::Components::ConsumerDescriptions *
get_registered_consumers (const char *publisher_name
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
- ACE_THROW_SPEC ((CORBA::SystemException)) = 0;
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ ::Components::InvalidName,
+ ::Components::InvalidConnection)) = 0;
protected:
SVNT *servant_;