summaryrefslogtreecommitdiff
path: root/TAO/tao/Exception.cpp
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-04 05:21:39 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-04 05:21:39 +0000
commit04f13977330f4b8f3420a6c3e80d8a0b75e50c58 (patch)
treeb9ad21287a6b112d22cd757718af5c60419de77b /TAO/tao/Exception.cpp
parent48fea8412a22e7a3ce12afeea8d9363027a7428d (diff)
downloadATCD-04f13977330f4b8f3420a6c3e80d8a0b75e50c58.tar.gz
ChangeLogTag:Tue Nov 4 04:55:40 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'TAO/tao/Exception.cpp')
-rw-r--r--TAO/tao/Exception.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/TAO/tao/Exception.cpp b/TAO/tao/Exception.cpp
index a565085eeb3..0b4ab273d0e 100644
--- a/TAO/tao/Exception.cpp
+++ b/TAO/tao/Exception.cpp
@@ -143,8 +143,8 @@ CORBA::Exception::_type (void) const
int
CORBA::Exception::_is_a (const char* repository_id) const
{
- return ACE_OS_String::strcmp (repository_id,
- "IDL:omg.org/CORBA/Exception:1.0") == 0;
+ return ACE_OS::strcmp (repository_id,
+ "IDL:omg.org/CORBA/Exception:1.0") == 0;
}
@@ -219,8 +219,8 @@ CORBA::UserException::operator= (const CORBA::UserException &src)
int
CORBA::UserException::_is_a (const char* interface_id) const
{
- return ACE_OS_String::strcmp (interface_id,
- "IDL:omg.org/CORBA/UserException:1.0") == 0
+ return ACE_OS::strcmp (interface_id,
+ "IDL:omg.org/CORBA/UserException:1.0") == 0
|| this->Exception::_is_a (interface_id);
}
@@ -319,9 +319,9 @@ CORBA::SystemException::operator= (const CORBA::SystemException &src)
int
CORBA::SystemException::_is_a (const char* interface_id) const
{
- return ((ACE_OS_String::strcmp (interface_id, this->_rep_id ()) == 0) ||
- (ACE_OS_String::strcmp (interface_id,
- "IDL:omg.org/CORBA/SystemException:1.0") == 0)
+ return ((ACE_OS::strcmp (interface_id, this->_rep_id ()) == 0) ||
+ (ACE_OS::strcmp (interface_id,
+ "IDL:omg.org/CORBA/SystemException:1.0") == 0)
|| this->Exception::_is_a (interface_id));
}
@@ -619,7 +619,7 @@ CORBA::SystemException::_info (void) const
// 7 bits of some other errno.
ACE_OS::sprintf (unknown_errno,
"low 7 bits of errno: %3u %s",
- minor_code, ACE_OS_String::strerror(minor_code));
+ minor_code, ACE_OS::strerror(minor_code));
errno_indication = unknown_errno;
}
@@ -1024,14 +1024,14 @@ TAO_Exceptions::make_standard_typecode (CORBA::TypeCode_ptr &tcp,
char * full_id =
CORBA::string_alloc (sizeof prefix
+ ACE_static_cast (CORBA::ULong,
- ACE_OS_String::strlen (name))
+ ACE_OS::strlen (name))
+ sizeof suffix);
CORBA::String_var safe_full_id = full_id;
- ACE_OS_String::strcpy (full_id, prefix);
- ACE_OS_String::strcat (full_id, name);
- ACE_OS_String::strcat (full_id, suffix);
+ ACE_OS::strcpy (full_id, prefix);
+ ACE_OS::strcat (full_id, name);
+ ACE_OS::strcat (full_id, suffix);
CORBA::Boolean result = stream.write_octet (TAO_ENCAP_BYTE_ORDER) == 0
|| stream.write_string (full_id) == 0
@@ -1223,7 +1223,7 @@ TAO_Exceptions::create_system_exception (const char *id
i < array_sz;
++i)
{
- if (ACE_OS_String::strcmp (id, repo_id_array[i]) == 0)
+ if (ACE_OS::strcmp (id, repo_id_array[i]) == 0)
return (*(excp_array[i])) ();
}