diff options
Diffstat (limited to 'TAO/orbsvcs/examples/ImR/Combined_Service/dynserver.cpp')
-rw-r--r-- | TAO/orbsvcs/examples/ImR/Combined_Service/dynserver.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/orbsvcs/examples/ImR/Combined_Service/dynserver.cpp b/TAO/orbsvcs/examples/ImR/Combined_Service/dynserver.cpp index 2ee3c788095..28f6ea7c526 100644 --- a/TAO/orbsvcs/examples/ImR/Combined_Service/dynserver.cpp +++ b/TAO/orbsvcs/examples/ImR/Combined_Service/dynserver.cpp @@ -18,13 +18,15 @@ DynServer::DynServer() DynServer::~DynServer() { } -Long DynServer::get() ACE_THROW_SPEC ((SystemException)) { +Long DynServer::get() +{ ACE_DEBUG((LM_DEBUG, "dynserver: get() %d\n", ++n_)); return n_; } namespace { - POA_ptr createPersistPOA(const char* name, POA_ptr root_poa, POAManager_ptr poaman) { + POA_ptr createPersistPOA(const char* name, POA_ptr root_poa, POAManager_ptr poaman) + { PolicyList policies (2); policies.length (2); policies[0] = root_poa->create_id_assignment_policy(USER_ID); @@ -144,9 +146,8 @@ Object_ptr DynServer_Loader::create_object (ORB_ptr, int, ACE_TCHAR **) - ACE_THROW_SPEC ((SystemException)) { - ACE_THROW_RETURN(NO_IMPLEMENT(), Object::_nil()); + throw NO_IMPLEMENT(); } ACE_FACTORY_DEFINE (DynServer, DynServer_Loader) |