diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-02 14:12:41 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-02 14:12:41 +0000 |
commit | 050e4f078bdad66a3df6bdc7267b71d8b3320eb9 (patch) | |
tree | 264e59021031e5a41ff10857549b58e9417c4014 /TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp | |
parent | 30172978dd2d880270a2665f3adcd9ad99c81bb7 (diff) | |
download | ATCD-050e4f078bdad66a3df6bdc7267b71d8b3320eb9.tar.gz |
Fri Feb 2 14:07:14 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp')
-rw-r--r-- | TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp b/TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp index e4879dad9cc..8e776817195 100644 --- a/TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp +++ b/TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp @@ -153,8 +153,7 @@ TAO::TypeCode::Enum<char const *, if (adapter == 0) { - ACE_THROW_RETURN (CORBA::INTERNAL (), - CORBA::TypeCode::_nil ()); + throw ::CORBA::INTERNAL (); } return @@ -206,7 +205,7 @@ TAO::TypeCode::Enum<char const *, // Ownership is retained by the TypeCode, as required by the C++ // mapping. if (index >= this->nenumerators_) - ACE_THROW_RETURN (CORBA::TypeCode::Bounds (), 0); + throw ::CORBA::TypeCode::Bounds (); return Traits<char const *>::get_string (this->enumerators_[index]); } |