diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-02-09 05:36:08 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-02-09 05:36:08 +0000 |
commit | d44120b0e14f14701087b713c62efcb70a150551 (patch) | |
tree | d9790bed47df4f627529f2ad85458c7bbd56331f /TAO/tao | |
parent | 52c1614aa8d693d47876c966c1f32adfcdf37531 (diff) | |
download | ATCD-d44120b0e14f14701087b713c62efcb70a150551.tar.gz |
ChangeLogTag:Fri Feb 08 21:27:32 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/Environment.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/TAO/tao/Environment.cpp b/TAO/tao/Environment.cpp index ec3ecad6848..5d3d9f630e7 100644 --- a/TAO/tao/Environment.cpp +++ b/TAO/tao/Environment.cpp @@ -139,7 +139,6 @@ CORBA::Environment::exception_type (void) const static char sysex_prefix [] = "IDL:omg.org/CORBA/"; static char typecode_extra [] = "TypeCode/"; - static char poa_prefix [] = "IDL:PortableServer/"; if (!this->exception_) return CORBA::NO_EXCEPTION; @@ -155,10 +154,7 @@ CORBA::Environment::exception_type (void) const sizeof sysex_prefix - 1) == 0 && ACE_OS::strncmp (id + sizeof sysex_prefix - 1, typecode_extra, - sizeof typecode_extra - 1) != 0) - || ACE_OS::strncmp (id, - poa_prefix, - sizeof poa_prefix - 1) == 0) + sizeof typecode_extra - 1) != 0)) return CORBA::SYSTEM_EXCEPTION; else return CORBA::USER_EXCEPTION; |