diff options
Diffstat (limited to 'TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp')
-rw-r--r-- | TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp b/TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp index e4879dad9cc..005de662c30 100644 --- a/TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp +++ b/TAO/tao/AnyTypeCode/Enum_TypeCode_Static.cpp @@ -5,6 +5,7 @@ #include "tao/ORB_Core.h" #include "tao/CDR.h" #include "tao/TypeCodeFactory_Adapter.h" +#include "tao/SystemException.h" #include "ace/Dynamic_Service.h" @@ -153,8 +154,7 @@ TAO::TypeCode::Enum<char const *, if (adapter == 0) { - ACE_THROW_RETURN (CORBA::INTERNAL (), - CORBA::TypeCode::_nil ()); + throw ::CORBA::INTERNAL (); } return @@ -206,7 +206,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]); } |