diff options
Diffstat (limited to 'TAO/examples/POA/DSI/Database_i.cpp')
-rw-r--r-- | TAO/examples/POA/DSI/Database_i.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/TAO/examples/POA/DSI/Database_i.cpp b/TAO/examples/POA/DSI/Database_i.cpp index 53c0095e5d1..99a97076236 100644 --- a/TAO/examples/POA/DSI/Database_i.cpp +++ b/TAO/examples/POA/DSI/Database_i.cpp @@ -136,9 +136,6 @@ Database::Entry_ptr DatabaseImpl::Agent::create_entry (const char *key, const char *entry_type, const Database::NVPairSequence &initial_attributes) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Duplicate_Key)) { // Create a new entry in the database: if (ACE_OS::strcmp (entry_type, "Employee") != 0 @@ -197,9 +194,6 @@ DatabaseImpl::Agent::create_entry (const char *key, Database::Entry_ptr DatabaseImpl::Agent::find_entry (const char *key, const char *entry_type) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Not_Found)) { if (ACE_OS::strcmp (entry_type, "Employee") != 0) @@ -245,9 +239,6 @@ DatabaseImpl::Agent::find_entry (const char *key, void DatabaseImpl::Agent::destroy_entry (const char *key, const char *entry_type) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Unknown_Key)) { if (ACE_OS::strcmp (entry_type, "Employee") != 0) throw Database::Unknown_Type (); @@ -278,7 +269,6 @@ DatabaseImpl::Agent::destroy_entry (const char *key, void DatabaseImpl::Agent::shutdown (void) - ACE_THROW_SPEC ((CORBA::SystemException)) { this->orb_->shutdown (); } @@ -327,14 +317,12 @@ DatabaseImpl::Employee::~Employee (void) const char * DatabaseImpl::Employee::name (void) const - ACE_THROW_SPEC ((CORBA::SystemException)) { return this->name_; } void DatabaseImpl::Employee::name (const char* name) - ACE_THROW_SPEC ((CORBA::SystemException)) { DATABASE::instance ()->free (this->name_); @@ -347,14 +335,12 @@ DatabaseImpl::Employee::name (const char* name) CORBA::Long DatabaseImpl::Employee::id (void) const - ACE_THROW_SPEC ((CORBA::SystemException)) { return this->id_; } void DatabaseImpl::Employee::id (CORBA::Long id) - ACE_THROW_SPEC ((CORBA::SystemException)) { this->id_ = id; } |