diff options
Diffstat (limited to 'TAO/tao/PortableServer/Collocated_Object_Proxy_Broker.cpp')
-rw-r--r-- | TAO/tao/PortableServer/Collocated_Object_Proxy_Broker.cpp | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/TAO/tao/PortableServer/Collocated_Object_Proxy_Broker.cpp b/TAO/tao/PortableServer/Collocated_Object_Proxy_Broker.cpp index 737aa70f09d..d064dc51e57 100644 --- a/TAO/tao/PortableServer/Collocated_Object_Proxy_Broker.cpp +++ b/TAO/tao/PortableServer/Collocated_Object_Proxy_Broker.cpp @@ -86,14 +86,10 @@ namespace TAO _tao_retval = target->_servant ()->_repository_id (); } } - catch ( ::CORBA::OBJECT_NOT_EXIST&) + catch (const ::CORBA::OBJECT_NOT_EXIST&) { // Ignore this exception. } - catch ( ::CORBA::Exception&) - { - throw; - } return _tao_retval; } @@ -164,14 +160,10 @@ namespace TAO _tao_retval = target->_servant ()->_get_component (); } } - catch ( ::CORBA::OBJECT_NOT_EXIST&) + catch (const ::CORBA::OBJECT_NOT_EXIST&) { // Ignore this exception. } - catch ( ::CORBA::Exception&) - { - throw; - } return _tao_retval._retn (); } @@ -211,14 +203,10 @@ namespace TAO _tao_retval = target->_servant ()->_get_interface (); } } - catch ( ::CORBA::OBJECT_NOT_EXIST&) + catch (const ::CORBA::OBJECT_NOT_EXIST&) { // Ignore this exception. } - catch ( ::CORBA::Exception&) - { - throw; - } return _tao_retval; } |