diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-02 16:22:17 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-02 16:22:17 +0000 |
commit | 6a6073d92af10c8d9ef7a8157fc3330bf75ad5b5 (patch) | |
tree | 6246617821b6e0943900008eeaa1d767c2ea7dcb /TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp | |
parent | fe2c97f8c7465fdafebe7a2db55bc720f9a009b2 (diff) | |
download | ATCD-6a6073d92af10c8d9ef7a8157fc3330bf75ad5b5.tar.gz |
Fri Feb 2 16:16:14 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp')
-rw-r--r-- | TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp b/TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp index 6f4b0b2830c..cf596ceff99 100644 --- a/TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp +++ b/TAO/orbsvcs/ImplRepo_Service/Forwarder.cpp @@ -140,12 +140,14 @@ ImR_Forwarder::preinvoke (const PortableServer::ObjectId &, } if (!CORBA::is_nil (forward_obj.in ())) - ACE_THROW_RETURN (PortableServer::ForwardRequest (forward_obj.in ()), 0); + throw PortableServer::ForwardRequest (forward_obj.in ()); ACE_ERROR ((LM_ERROR, "Error: Forward_to reference is nil.\n")); - ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST ( - CORBA::SystemException::_tao_minor_code (TAO_IMPLREPO_MINOR_CODE, 0), - CORBA::COMPLETED_NO), 0); + throw CORBA::OBJECT_NOT_EXIST ( + CORBA::SystemException::_tao_minor_code ( + TAO_IMPLREPO_MINOR_CODE, + 0), + CORBA::COMPLETED_NO); } void |