diff options
Diffstat (limited to 'TAO/examples/POA/DSI/Database_i.h')
-rw-r--r-- | TAO/examples/POA/DSI/Database_i.h | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/TAO/examples/POA/DSI/Database_i.h b/TAO/examples/POA/DSI/Database_i.h index 3824d71f23b..b48464d3b7f 100644 --- a/TAO/examples/POA/DSI/Database_i.h +++ b/TAO/examples/POA/DSI/Database_i.h @@ -50,7 +50,7 @@ public: // Returns the default POA for this servant. virtual void is_a (CORBA::ServerRequest_ptr request, - CORBA::Environment &env); + CORBA::Environment &env); // Handles the _is_a call protected: @@ -75,27 +75,17 @@ public: virtual Database::Entry_ptr create_entry (const char *key, const char *entry_type, const Database::NVPairSequence &initial_attributes, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Duplicate_Key)); + CORBA::Environment &env); virtual Database::Entry_ptr find_entry (const char *key, const char *entry_type, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Not_Found)); + CORBA::Environment &env); virtual void destroy_entry (const char *key, const char *entry_type, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException, - Database::Unknown_Type, - Database::Unknown_Key)); + CORBA::Environment &env); - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void shutdown (CORBA::Environment &env); virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); // Returns the default POA for this servant. @@ -120,15 +110,11 @@ public: ~Employee (void); - const char *name (void) const - ACE_THROW_SPEC ((CORBA::SystemException)); - void name (const char* name) - ACE_THROW_SPEC ((CORBA::SystemException)); + const char *name (void) const; + void name (const char* name); - CORBA::Long id (void) const - ACE_THROW_SPEC ((CORBA::SystemException)); - void id (CORBA::Long id) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Long id (void) const; + void id (CORBA::Long id); void *operator new (size_t); void operator delete (void *pointer); |