summaryrefslogtreecommitdiff
path: root/TAO/tao/Connector_Registry.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 21:19:02 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 21:19:02 +0000
commit40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch)
tree37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /TAO/tao/Connector_Registry.cpp
parentc254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff)
downloadATCD-40fdc8a404e75ab03b68cc62e9987cf208fd8c30.tar.gz
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'TAO/tao/Connector_Registry.cpp')
-rw-r--r--TAO/tao/Connector_Registry.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/Connector_Registry.cpp b/TAO/tao/Connector_Registry.cpp
index 57bc3f9d201..7f81f485e25 100644
--- a/TAO/tao/Connector_Registry.cpp
+++ b/TAO/tao/Connector_Registry.cpp
@@ -8,7 +8,6 @@
#include "tao/debug.h"
#include "tao/ORB_Constants.h"
#include "tao/CDR.h"
-#include "tao/SystemException.h"
#if !defined(__ACE_INLINE__)
#include "tao/Connector_Registry.i"
@@ -119,7 +118,7 @@ TAO_Connector_Registry::make_mprofile (const char *ior,
// Failure: Null IOR string pointer
ACE_THROW_RETURN (CORBA::INV_OBJREF (
CORBA::SystemException::_tao_minor_code (
- 0,
+ TAO_DEFAULT_MINOR_CODE,
EINVAL),
CORBA::COMPLETED_NO),
-1);
@@ -146,7 +145,7 @@ TAO_Connector_Registry::make_mprofile (const char *ior,
// Failure: Null pointer to connector in connector registry.
ACE_THROW_RETURN (CORBA::INV_OBJREF (
CORBA::SystemException::_tao_minor_code (
- 0,
+ TAO_DEFAULT_MINOR_CODE,
EINVAL),
CORBA::COMPLETED_NO),
-1);