diff options
Diffstat (limited to 'TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp')
-rw-r--r-- | TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp b/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp index 93b1b8c6e3b..083ef55fbee 100644 --- a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp +++ b/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp @@ -37,8 +37,6 @@ ServantLocator::preinvoke (const PortableServer::ObjectId &oid, PortableServer::POA_ptr poa, const char * /* operation */, PortableServer::ServantLocator::Cookie &cookie) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableServer::ForwardRequest)) { // Convert ObjectID to String. @@ -59,7 +57,7 @@ ServantLocator::preinvoke (const PortableServer::ObjectId &oid, } else { - ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), 0); + throw CORBA::OBJECT_NOT_EXIST (); } } @@ -69,7 +67,6 @@ ServantLocator::postinvoke (const PortableServer::ObjectId & /* oid */, const char * /* operation */, PortableServer::ServantLocator::Cookie cookie, PortableServer::Servant servant) - ACE_THROW_SPEC ((CORBA::SystemException)) { // Check the passed servant with the cookie. |