summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Containers/Session/Session_Container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/Containers/Session/Session_Container.cpp')
-rw-r--r--CIAO/ciao/Containers/Session/Session_Container.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/CIAO/ciao/Containers/Session/Session_Container.cpp b/CIAO/ciao/Containers/Session/Session_Container.cpp
index 27e80d37a76..b3ecd3c5a7e 100644
--- a/CIAO/ciao/Containers/Session/Session_Container.cpp
+++ b/CIAO/ciao/Containers/Session/Session_Container.cpp
@@ -699,10 +699,17 @@ namespace CIAO
try
{
- ::CORBA::LocalObject_ptr exec (prov_serv->get_facet_executor (provider_port));
+ ::CORBA::Object_ptr exec (prov_serv->get_facet_executor (provider_port));
// Note: Spec says that facet executor provided by component MAY BE NIL
-
+ user_serv->connect (user_port, exec);
+ }
+ catch (::Components::InvalidConnection &ex)
+ {
+ CIAO_ERROR ((LM_ERROR, CLINFO "Session_Container::connect_local_facet - "
+ "Caught InvliadConnection exception while attempting to connect facet %C to "
+ "receptacle %C\n", provider_port, user_port));
+ throw;
}
}