diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h')
-rw-r--r-- | TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h | 57 |
1 files changed, 9 insertions, 48 deletions
diff --git a/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h b/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h index c11ae36f505..0553c65b621 100644 --- a/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h +++ b/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h @@ -24,57 +24,27 @@ class TAO_TTest_Export TAO_Service_Type_Exporter public: TAO_Service_Type_Exporter (CosTrading::Lookup_ptr lookup_if, - CORBA::Boolean verbose) - ACE_THROW_SPEC ((CORBA::SystemException)); - - void remove_all_types (void) - ACE_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType, - CosTradingRepos::ServiceTypeRepository::HasSubTypes)); + CORBA::Boolean verbose); + + void remove_all_types (void); // Remove all service types from the trading service instance. - void add_all_types (void) - ACE_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTradingRepos::ServiceTypeRepository::ServiceTypeExists, - CosTradingRepos::ServiceTypeRepository::InterfaceTypeMismatch, - CosTrading::IllegalPropertyName, - CosTrading::DuplicatePropertyName, - CosTradingRepos::ServiceTypeRepository::ValueTypeRedefinition, - CosTrading::UnknownServiceType, - CosTradingRepos::ServiceTypeRepository::DuplicateServiceTypeName)); + void add_all_types (void); // Add all the generated service types to the trading service instance. - void add_all_types_to_all (void) - ACE_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTradingRepos::ServiceTypeRepository::ServiceTypeExists, - CosTradingRepos::ServiceTypeRepository::InterfaceTypeMismatch, - CosTrading::IllegalPropertyName, - CosTrading::DuplicatePropertyName, - CosTradingRepos::ServiceTypeRepository::ValueTypeRedefinition, - CosTrading::UnknownServiceType, - CosTradingRepos::ServiceTypeRepository::DuplicateServiceTypeName)); + void add_all_types_to_all (void); // Add all the generated service types to all the trading service // instances linked to the trading service we bootstrapped to. - void list_all_types (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + void list_all_types (void); // List all the service types registered with the trading service // instance. - void describe_all_types (void) - ACE_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType)); + void describe_all_types (void); // Describe all the service types registered with the trading // service instance. - void fully_describe_all_types (void) - ACE_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType)); + void fully_describe_all_types (void); // Same as describe_all_types, but fully describe lists the // properties of all service types the described service type // inherits from. @@ -84,16 +54,7 @@ private: void create_types (void); // Generate the service type description structures. - void add_all_types_to (CosTradingRepos::ServiceTypeRepository_ptr repos) - ACE_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTradingRepos::ServiceTypeRepository::ServiceTypeExists, - CosTradingRepos::ServiceTypeRepository::InterfaceTypeMismatch, - CosTrading::IllegalPropertyName, - CosTrading::DuplicatePropertyName, - CosTradingRepos::ServiceTypeRepository::ValueTypeRedefinition, - CosTrading::UnknownServiceType, - CosTradingRepos::ServiceTypeRepository::DuplicateServiceTypeName)); + void add_all_types_to (CosTradingRepos::ServiceTypeRepository_ptr repos); // Add all types to a sepcified service type repository reference. void |