summaryrefslogtreecommitdiff
path: root/TAO/tao/Object.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-26 20:13:14 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-26 20:13:14 +0000
commit3ac6fd9e3a35ee5be1a71f611197e2e18dfe0982 (patch)
tree7eb7445e684304a4e59416519910dd833fce237f /TAO/tao/Object.cpp
parent47cdcca13a87363ab73d960bc844be7164d9dbbc (diff)
downloadATCD-3ac6fd9e3a35ee5be1a71f611197e2e18dfe0982.tar.gz
ChangeLogTag:Mon Jun 26 15:06:20 2000 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Object.cpp')
-rw-r--r--TAO/tao/Object.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp
index caba2a873e8..032941fb309 100644
--- a/TAO/tao/Object.cpp
+++ b/TAO/tao/Object.cpp
@@ -88,6 +88,9 @@ CORBA_Object::_is_a (const CORBA::Char *type_id,
//
// XXX if type_id is that of CORBA_Object, "yes, we comply" :-)
+ if (this->is_local_)
+ ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (), 0);
+
if (this->_stubobj ()->type_id.in () != 0
&& ACE_OS::strcmp (type_id,
this->_stubobj ()->type_id.in ()) == 0)