summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp21
1 files changed, 2 insertions, 19 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp
index 734634884f7..995534cce41 100644
--- a/TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/IFRService/Repository_i.cpp
@@ -40,21 +40,18 @@ TAO_Repository_i::~TAO_Repository_i (void)
CORBA::DefinitionKind
TAO_Repository_i::def_kind (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::dk_Repository;
}
void
TAO_Repository_i::destroy (void)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
throw CORBA::BAD_INV_ORDER (CORBA::OMGVMCID | 2, CORBA::COMPLETED_NO);
}
CORBA::Contained_ptr
TAO_Repository_i::lookup_id (const char *search_id)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_IFR_READ_GUARD_RETURN (CORBA::Contained::_nil ());
@@ -63,7 +60,6 @@ TAO_Repository_i::lookup_id (const char *search_id)
CORBA::Contained_ptr
TAO_Repository_i::lookup_id_i (const char *search_id)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
if (ACE_OS::strcmp (search_id, "IDL:omg.org/CORBA/Object:1.0") == 0
|| ACE_OS::strcmp (search_id, "IDL:omg.org/CORBA/ValueBase:1.0") == 0)
@@ -103,7 +99,6 @@ TAO_Repository_i::lookup_id_i (const char *search_id)
CORBA::TypeCode_ptr
TAO_Repository_i::get_canonical_typecode (CORBA::TypeCode_ptr tc)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_IFR_READ_GUARD_RETURN (CORBA::TypeCode::_nil ());
@@ -112,7 +107,6 @@ TAO_Repository_i::get_canonical_typecode (CORBA::TypeCode_ptr tc)
CORBA::TypeCode_ptr
TAO_Repository_i::get_canonical_typecode_i (CORBA::TypeCode_ptr tc)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
CORBA::TCKind kind = tc->kind ();
@@ -122,7 +116,7 @@ TAO_Repository_i::get_canonical_typecode_i (CORBA::TypeCode_ptr tc)
default:
return CORBA::TypeCode::_duplicate (tc);
case CORBA::tk_fixed:
- ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (), CORBA::TypeCode::_nil ());
+ throw CORBA::NO_IMPLEMENT ();
case CORBA::tk_array:
{
CORBA::ULong length = tc->length ();
@@ -202,7 +196,6 @@ TAO_Repository_i::get_canonical_typecode_i (CORBA::TypeCode_ptr tc)
CORBA::PrimitiveDef_ptr
TAO_Repository_i::get_primitive (CORBA::PrimitiveKind kind)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_TString obj_id ("pkinds\\");
@@ -218,7 +211,6 @@ TAO_Repository_i::get_primitive (CORBA::PrimitiveKind kind)
CORBA::StringDef_ptr
TAO_Repository_i::create_string (CORBA::ULong bound)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_IFR_WRITE_GUARD_RETURN (CORBA::StringDef::_nil ());
@@ -227,7 +219,6 @@ TAO_Repository_i::create_string (CORBA::ULong bound)
CORBA::StringDef_ptr
TAO_Repository_i::create_string_i (CORBA::ULong bound)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
u_int count = 0;
this->config_->get_integer_value (this->strings_key_,
@@ -272,7 +263,6 @@ TAO_Repository_i::create_string_i (CORBA::ULong bound)
CORBA::WstringDef_ptr
TAO_Repository_i::create_wstring (CORBA::ULong bound)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_IFR_WRITE_GUARD_RETURN (CORBA::WstringDef::_nil ());
@@ -281,7 +271,6 @@ TAO_Repository_i::create_wstring (CORBA::ULong bound)
CORBA::WstringDef_ptr
TAO_Repository_i::create_wstring_i (CORBA::ULong bound)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
u_int count = 0;
this->config_->get_integer_value (this->wstrings_key_,
@@ -327,7 +316,6 @@ TAO_Repository_i::create_wstring_i (CORBA::ULong bound)
CORBA::SequenceDef_ptr
TAO_Repository_i::create_sequence (CORBA::ULong bound,
CORBA::IDLType_ptr element_type)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_IFR_WRITE_GUARD_RETURN (CORBA::SequenceDef::_nil ());
@@ -338,7 +326,6 @@ TAO_Repository_i::create_sequence (CORBA::ULong bound,
CORBA::SequenceDef_ptr
TAO_Repository_i::create_sequence_i (CORBA::ULong bound,
CORBA::IDLType_ptr element_type)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
u_int count = 0;
this->config_->get_integer_value (this->sequences_key_,
@@ -395,7 +382,6 @@ TAO_Repository_i::create_sequence_i (CORBA::ULong bound,
CORBA::ArrayDef_ptr
TAO_Repository_i::create_array (CORBA::ULong length,
CORBA::IDLType_ptr element_type)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_IFR_WRITE_GUARD_RETURN (CORBA::ArrayDef::_nil ());
@@ -406,7 +392,6 @@ TAO_Repository_i::create_array (CORBA::ULong length,
CORBA::ArrayDef_ptr
TAO_Repository_i::create_array_i (CORBA::ULong length,
CORBA::IDLType_ptr element_type)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
u_int count = 0;
this->config_->get_integer_value (this->arrays_key_,
@@ -463,7 +448,6 @@ TAO_Repository_i::create_array_i (CORBA::ULong length,
CORBA::FixedDef_ptr
TAO_Repository_i::create_fixed (CORBA::UShort digits,
CORBA::Short scale)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_IFR_WRITE_GUARD_RETURN (CORBA::FixedDef::_nil ());
@@ -475,9 +459,8 @@ CORBA::FixedDef_ptr
TAO_Repository_i::create_fixed_i (CORBA::UShort /* digits */,
CORBA::Short /* scale */
)
- ACE_THROW_SPEC ((CORBA::SystemException))
{
- ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (), CORBA::FixedDef::_nil ());
+ throw CORBA::NO_IMPLEMENT ();
}
int