summaryrefslogtreecommitdiff
path: root/TAO/tao/ORBInitInfo.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-10-23 23:06:11 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-10-23 23:06:11 +0000
commitb2faaf792a8195cc8133534f2892ca31dc6ed810 (patch)
tree52ae92204bdb452b4c52f5074b99b40817ee8e91 /TAO/tao/ORBInitInfo.cpp
parentc12d8b89f701630efcb2fa9951e745c411bfa7a4 (diff)
downloadATCD-b2faaf792a8195cc8133534f2892ca31dc6ed810.tar.gz
ChangeLogTag:Mon Oct 23 15:59:53 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/ORBInitInfo.cpp')
-rw-r--r--TAO/tao/ORBInitInfo.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/tao/ORBInitInfo.cpp b/TAO/tao/ORBInitInfo.cpp
index 440402d9800..37eff5a8b5e 100644
--- a/TAO/tao/ORBInitInfo.cpp
+++ b/TAO/tao/ORBInitInfo.cpp
@@ -93,8 +93,13 @@ TAO_ORBInitInfo::add_client_request_interceptor (
ACE_THROW_SPEC ((CORBA::SystemException,
PortableInterceptor::ORBInitInfo::DuplicateName))
{
+# if TAO_HAS_INTERCEPTORS == 1
this->orb_core_->add_interceptor (interceptor,
ACE_TRY_ENV);
+#else
+ ACE_UNUSED_ARG (interceptor);
+ ACE_THROW (CORBA::NO_IMPLEMENT ());
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
}
void
@@ -104,8 +109,14 @@ TAO_ORBInitInfo::add_server_request_interceptor (
ACE_THROW_SPEC ((CORBA::SystemException,
PortableInterceptor::ORBInitInfo::DuplicateName))
{
+# if TAO_HAS_INTERCEPTORS == 1
this->orb_core_->add_interceptor (interceptor,
ACE_TRY_ENV);
+
+#else
+ ACE_UNUSED_ARG (interceptor);
+ ACE_THROW (CORBA::NO_IMPLEMENT ());
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
}
void