summaryrefslogtreecommitdiff
path: root/examples/Simple/echo/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Simple/echo/server.cpp')
-rw-r--r--examples/Simple/echo/server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/Simple/echo/server.cpp b/examples/Simple/echo/server.cpp
index 2b8786e5cc2..4c9ab20ae95 100644
--- a/examples/Simple/echo/server.cpp
+++ b/examples/Simple/echo/server.cpp
@@ -33,6 +33,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;
}