diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-21 15:17:10 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-21 15:17:10 +0000 |
commit | f8d3ade31e4baf2d90d13dfe83470c02b6db6d1c (patch) | |
tree | e36247b140c9e963956ccdd0e9e96823294026bd /TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp | |
parent | c62cc43d5225b913525d48d6a1dddeb8bdce9452 (diff) | |
download | ATCD-f8d3ade31e4baf2d90d13dfe83470c02b6db6d1c.tar.gz |
ChangeLogTag: Thu Sep 21 10:11:09 2000 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp')
-rw-r--r-- | TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp b/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp index 1d9eb39209f..f96f6e5c47b 100644 --- a/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp +++ b/TAO/orbsvcs/ImplRepo_Service/ImplRepo_i.cpp @@ -429,15 +429,19 @@ ImplRepo_i::ready_check (const char *server) // Get the ior for the "ping" object for the server - if (this->repository_.get_running_info (server, location, ping_object_ior) != 0) + if (this->repository_.get_running_info (server, location, ping_object_ior) + != 0) { - // If get_running_info fails, something weird must have happened - // (maybe it was removed after we started it up, but before we got here....) + // If get_running_info fails, something weird must have happened. + // Maybe it was removed after we started it up, but before we got here. ACE_ERROR ((LM_ERROR, "Error: Cannot find ServerObject IOR for server <%s>\n", server)); - ACE_THROW (ImplementationRepository::Administration::NotFound ()); + ACE_THROW_RETURN ( + ImplementationRepository::Administration::NotFound (), + -2 + ); } // Narrow the ping object @@ -459,7 +463,10 @@ ImplRepo_i::ready_check (const char *server) "Error: Invalid ServerObject IOR: <%s>\n", ping_object_ior.c_str ())); - ACE_THROW (ImplementationRepository::Administration::NotFound ()); + ACE_THROW_RETURN ( + ImplementationRepository::Administration::NotFound (), + -2 + ); } } |