diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-10-23 23:06:11 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-10-23 23:06:11 +0000 |
commit | ec1296a347f8815c550409c1cfa68ca68e794c34 (patch) | |
tree | 52ae92204bdb452b4c52f5074b99b40817ee8e91 /TAO/tao/ORBInitInfo.cpp | |
parent | b729c475b93d901107035486ee39fea4a51e62a1 (diff) | |
download | ATCD-ec1296a347f8815c550409c1cfa68ca68e794c34.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.cpp | 11 |
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 |