summaryrefslogtreecommitdiff
path: root/TAO/tao/RT_Invocation_Endpoint_Selectors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RT_Invocation_Endpoint_Selectors.cpp')
-rw-r--r--TAO/tao/RT_Invocation_Endpoint_Selectors.cpp20
1 files changed, 4 insertions, 16 deletions
diff --git a/TAO/tao/RT_Invocation_Endpoint_Selectors.cpp b/TAO/tao/RT_Invocation_Endpoint_Selectors.cpp
index 33028c6ce18..ecb52fe077c 100644
--- a/TAO/tao/RT_Invocation_Endpoint_Selectors.cpp
+++ b/TAO/tao/RT_Invocation_Endpoint_Selectors.cpp
@@ -149,10 +149,7 @@ TAO_Priority_Endpoint_Selector::select_endpoint (TAO_GIOP_Invocation *invocation
// If we get here, we completely failed to find an endpoint selector
// that we know how to use, so throw an exception.
- ACE_THROW (CORBA::TRANSIENT (
- CORBA_SystemException::_tao_minor_code (
- TAO_INVOCATION_CONNECT_MINOR_CODE,
- errno),
+ ACE_THROW (CORBA::TRANSIENT (TAO_OMG_VMCID | 2,
CORBA::COMPLETED_NO));
}
@@ -332,10 +329,7 @@ TAO_Bands_Endpoint_Selector::select_endpoint (TAO_GIOP_Invocation *invocation,
// If we get here, we completely failed to find an endpoint selector
// that we know how to use, so throw an exception.
- ACE_THROW (CORBA::TRANSIENT (
- CORBA_SystemException::_tao_minor_code (
- TAO_INVOCATION_CONNECT_MINOR_CODE,
- errno),
+ ACE_THROW (CORBA::TRANSIENT (TAO_OMG_VMCID | 2,
CORBA::COMPLETED_NO));
@@ -497,10 +491,7 @@ TAO_Protocol_Endpoint_Selector::select_endpoint (TAO_GIOP_Invocation
// If we get here, we completely failed to find an endpoint selector
// that we know how to use, so throw an exception.
- ACE_THROW (CORBA::TRANSIENT (
- CORBA_SystemException::_tao_minor_code (
- TAO_INVOCATION_CONNECT_MINOR_CODE,
- errno),
+ ACE_THROW (CORBA::TRANSIENT (TAO_OMG_VMCID | 2,
CORBA::COMPLETED_NO));
@@ -749,10 +740,7 @@ TAO_Client_Priority_Policy_Selector::select_endpoint (TAO_GIOP_Invocation
ACE_THROW (CORBA::INV_POLICY ());
}
- ACE_THROW (CORBA::TRANSIENT (
- CORBA_SystemException::_tao_minor_code (
- TAO_INVOCATION_CONNECT_MINOR_CODE,
- errno),
+ ACE_THROW (CORBA::TRANSIENT (TAO_OMG_VMCID | 2,
CORBA::COMPLETED_NO));