diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-10-03 21:02:32 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-10-03 21:02:32 +0000 |
commit | 4dcca24c609008f9fe8a4e01966702b8f4c08e61 (patch) | |
tree | 6bf00b87749636ef3ea7ec22a9b13d4dd2597378 /examples/Simple/bank/server.cpp | |
parent | 8c7cc4d18ddf28a18a01fef53aaea68422b2fff2 (diff) | |
download | ATCD-alt_mapping_SAIC.tar.gz |
Merged version 94552 from main trunk into this branchalt_mapping_SAIC
Diffstat (limited to 'examples/Simple/bank/server.cpp')
-rw-r--r-- | examples/Simple/bank/server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/Simple/bank/server.cpp b/examples/Simple/bank/server.cpp index a1c4987a0dc..63cd167bf87 100644 --- a/examples/Simple/bank/server.cpp +++ b/examples/Simple/bank/server.cpp @@ -32,6 +32,11 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) sysex._tao_print_exception ("System Exception"); return -1; } + catch (const ::CORBA::Exception &e) + { + e._tao_print_exception ("CORBA exception"); + return 1; + } return 0; } |