summaryrefslogtreecommitdiff
path: root/examples/Simple/bank/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Simple/bank/server.cpp')
-rw-r--r--examples/Simple/bank/server.cpp5
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;
}