diff options
Diffstat (limited to 'TAO/examples/Simple/bank/AccountManager_i.cpp')
-rw-r--r-- | TAO/examples/Simple/bank/AccountManager_i.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/examples/Simple/bank/AccountManager_i.cpp b/TAO/examples/Simple/bank/AccountManager_i.cpp index 5e9a2d38cc7..fdd8df7b895 100644 --- a/TAO/examples/Simple/bank/AccountManager_i.cpp +++ b/TAO/examples/Simple/bank/AccountManager_i.cpp @@ -73,7 +73,7 @@ AccountManager_i::open (const char *name, if (hash_map_.bind (name, result) == -1) { delete result; - ACE_THROW_RETURN (CORBA::UNKNOWN (), + TAO_THROW_RETURN (CORBA::UNKNOWN (), Bank::Account::_nil ()); } } @@ -115,8 +115,7 @@ AccountManager_i::close (Bank::Account_ptr account, } ACE_CATCHANY { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Unable to close Account\n"); + ACE_TRY_ENV.print_exception ("Unable to close Account\n"); } ACE_ENDTRY; ACE_CHECK; |