diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-06 21:34:37 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-06 21:34:37 +0000 |
commit | 7c79f588d52469bca67fbf10c5d95001dbda86aa (patch) | |
tree | a27b91e7887ff68def4e0ee39bb8a684e961c254 /TAO/examples/Borland | |
parent | 024ab9c4c4876ac1d553850c5ce31388790d20e9 (diff) | |
download | ATCD-7c79f588d52469bca67fbf10c5d95001dbda86aa.tar.gz |
ChangeLogTag:Fri Aug 06 15:20:00 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
Diffstat (limited to 'TAO/examples/Borland')
-rw-r--r-- | TAO/examples/Borland/ChatClientWnd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/examples/Borland/ChatClientWnd.cpp b/TAO/examples/Borland/ChatClientWnd.cpp index 5a4f2f3dae3..7e54968f4e4 100644 --- a/TAO/examples/Borland/ChatClientWnd.cpp +++ b/TAO/examples/Borland/ChatClientWnd.cpp @@ -83,9 +83,9 @@ void __fastcall TChatClientWindow::FormClose (TObject *Sender, server_->remove (receiver_var_); receiver_i_.shutdown (); } - catch (CORBA::Exception&) + catch (CORBA::Exception &e) { - ShowMessage ("Exception in TChatClientWindow::FormClose"); + ShowMessage ("CORBA Exception in FormClose: " + String (e._id ())); } } //--------------------------------------------------------------------------- @@ -105,9 +105,9 @@ void __fastcall TChatClientWindow::InputMemoKeyPress (TObject *Sender, char &Key // the server. server_->say (receiver_var_, InputMemo->Text.c_str ()); } - catch (CORBA::Exception&) + catch (CORBA::Exception &e) { - ShowMessage ("Exception in TChatClientWindow::InputMemoKeyPress"); + ShowMessage ("CORBA Exception in InputMemoKeyPress: " + String (e._id ())); } Key = 0; |