summaryrefslogtreecommitdiff
path: root/TAO/tao/Connector_Registry.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-09-03 06:00:45 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-09-03 06:00:45 +0000
commit45dcb626779b5da135d789505459977839970553 (patch)
treea2a5cd600c2ee1eeb991f4a4854115ebfb70916c /TAO/tao/Connector_Registry.cpp
parent325541b9edf657d9403132856bf94265ab554e51 (diff)
downloadATCD-45dcb626779b5da135d789505459977839970553.tar.gz
ChangeLogTag:Thu Sep 2 22:21:35 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Connector_Registry.cpp')
-rw-r--r--TAO/tao/Connector_Registry.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/Connector_Registry.cpp b/TAO/tao/Connector_Registry.cpp
index 7f81f485e25..57bc3f9d201 100644
--- a/TAO/tao/Connector_Registry.cpp
+++ b/TAO/tao/Connector_Registry.cpp
@@ -8,6 +8,7 @@
#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"
@@ -118,7 +119,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 (
- TAO_DEFAULT_MINOR_CODE,
+ 0,
EINVAL),
CORBA::COMPLETED_NO),
-1);
@@ -145,7 +146,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 (
- TAO_DEFAULT_MINOR_CODE,
+ 0,
EINVAL),
CORBA::COMPLETED_NO),
-1);