diff options
Diffstat (limited to 'TAO/examples/Simple/bank/Account_i.cpp')
-rw-r--r-- | TAO/examples/Simple/bank/Account_i.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/TAO/examples/Simple/bank/Account_i.cpp b/TAO/examples/Simple/bank/Account_i.cpp index 6243c29e421..ca440ad854c 100644 --- a/TAO/examples/Simple/bank/Account_i.cpp +++ b/TAO/examples/Simple/bank/Account_i.cpp @@ -38,22 +38,18 @@ Account_i::orb (CORBA::ORB_ptr o) CORBA::Float Account_i::balance (void) - ACE_THROW_SPEC ((CORBA::SystemException)) { return balance_; } void Account_i::deposit (CORBA::Float deposit) - ACE_THROW_SPEC ((CORBA::SystemException)) { balance_ += deposit; } void Account_i::withdraw (CORBA::Float withdrawl) - ACE_THROW_SPEC ((CORBA::SystemException, - Bank::Account::Overdraft)) { if (balance_ >= withdrawl) balance_ -= withdrawl; @@ -63,14 +59,12 @@ Account_i::withdraw (CORBA::Float withdrawl) char * Account_i::name (void) - ACE_THROW_SPEC ((CORBA::SystemException)) { return CORBA::string_dup (this->name_.in ()); } void Account_i::name (const char *name) - ACE_THROW_SPEC ((CORBA::SystemException)) { this->name_ = CORBA::string_dup (name); } |