summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-20 00:44:23 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-20 00:44:23 +0000
commitc3b1a2482f36146c09aafd8ad24034280c17d64a (patch)
treee5f1743d58e950fb10eff9712be6da342f565f03 /TAO/tao
parent558f798ed2d88aae80de8ec93f7fa9b791bcaa9d (diff)
downloadATCD-c3b1a2482f36146c09aafd8ad24034280c17d64a.tar.gz
ChangeLogTag: Mon Jul 19 19:42:04 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/Exception.cpp5
-rw-r--r--TAO/tao/corbafwd.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/TAO/tao/Exception.cpp b/TAO/tao/Exception.cpp
index c5e438fa3a7..4c63735ef29 100644
--- a/TAO/tao/Exception.cpp
+++ b/TAO/tao/Exception.cpp
@@ -291,6 +291,8 @@ CORBA_SystemException::_tao_errno (int errno_value)
return TAO_EBUSY_MINOR_CODE;
case EEXIST:
return TAO_EEXIST_MINOR_CODE;
+ case EINVAL:
+ return TAO_EINVAL_MINOR_CODE;
default:
// Mask off bottom 7 bits and return them.
return errno_value & 0x7F;
@@ -434,6 +436,9 @@ CORBA_SystemException::_info (void) const
case TAO_EEXIST_MINOR_CODE:
errno_indication = "EEXIST";
break;
+ case TAO_EINVAL_MINOR_CODE:
+ errno_indication = "EINVAL";
+ break;
default:
{
// 7 bits of some other errno.
diff --git a/TAO/tao/corbafwd.h b/TAO/tao/corbafwd.h
index 842d54c7fd5..a11d695b4b9 100644
--- a/TAO/tao/corbafwd.h
+++ b/TAO/tao/corbafwd.h
@@ -1721,6 +1721,7 @@ TAO_NAMESPACE CORBA
#define TAO_EFAULT_MINOR_CODE 0xEU
#define TAO_EBUSY_MINOR_CODE 0xFU
#define TAO_EEXIST_MINOR_CODE 0x10U
+#define TAO_EINVAL_MINOR_CODE 0x11U
// *Don't* use TAO_<errno>_MINOR_CODE greater than 0x7FU!
// These numbers are assigned by the OpenGroup, a database is