diff options
Diffstat (limited to 'TAO/tao/Messaging_Policy_i.cpp')
-rw-r--r-- | TAO/tao/Messaging_Policy_i.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tao/Messaging_Policy_i.cpp b/TAO/tao/Messaging_Policy_i.cpp index a7abd7ed3ee..532eebe1b0b 100644 --- a/TAO/tao/Messaging_Policy_i.cpp +++ b/TAO/tao/Messaging_Policy_i.cpp @@ -32,6 +32,7 @@ TAO_RelativeRoundtripTimeoutPolicy::relative_expiry (CORBA::Environment &) CORBA::PolicyType TAO_RelativeRoundtripTimeoutPolicy::policy_type (CORBA_Environment &) + ACE_THROW_SPEC ((CORBA::SystemException)) { // Future policy implementors: notice how this minimizes the // footprint of the class. @@ -72,6 +73,7 @@ TAO_RelativeRoundtripTimeoutPolicy::clone (void) const CORBA::Policy_ptr TAO_RelativeRoundtripTimeoutPolicy::copy (CORBA_Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)) { // Future policy implementors: notice how the following code is // exception safe! @@ -87,6 +89,7 @@ TAO_RelativeRoundtripTimeoutPolicy::copy (CORBA_Environment &ACE_TRY_ENV) void TAO_RelativeRoundtripTimeoutPolicy::destroy (CORBA_Environment &) + ACE_THROW_SPEC ((CORBA::SystemException)) { } @@ -129,6 +132,7 @@ TAO_Sync_Scope_Policy::TAO_Sync_Scope_Policy (const TAO_Sync_Scope_Policy &rhs) CORBA::PolicyType TAO_Sync_Scope_Policy::policy_type (CORBA_Environment &) + ACE_THROW_SPEC ((CORBA::SystemException)) { return Messaging::SYNC_SCOPE_POLICY_TYPE; } @@ -163,13 +167,14 @@ TAO_Sync_Scope_Policy::clone (void) const Messaging::SyncScope TAO_Sync_Scope_Policy::synchronization (CORBA::Environment &) - ACE_THROW_SPEC (()) + ACE_THROW_SPEC ((CORBA::SystemException)) { return this->synchronization_; } CORBA::Policy_ptr TAO_Sync_Scope_Policy::copy (CORBA_Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_Sync_Scope_Policy *servant = 0; ACE_NEW_THROW_EX (servant, @@ -182,6 +187,7 @@ TAO_Sync_Scope_Policy::copy (CORBA_Environment &ACE_TRY_ENV) void TAO_Sync_Scope_Policy::destroy (CORBA_Environment &) + ACE_THROW_SPEC ((CORBA::SystemException)) { } |