summaryrefslogtreecommitdiff
path: root/TAO/examples/mfc/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/mfc/server.cpp')
-rw-r--r--TAO/examples/mfc/server.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/examples/mfc/server.cpp b/TAO/examples/mfc/server.cpp
index 133016367c6..85ea611d723 100644
--- a/TAO/examples/mfc/server.cpp
+++ b/TAO/examples/mfc/server.cpp
@@ -83,8 +83,7 @@ spawn_my_orb_thread (void *)
}
catch (const CORBA::Exception& ex)
{
- ACE_PRINT_EXCEPTION (ex,
- "Caught exception:");
+ ex._tao_print_exception ("Caught exception:");
return 0;
}
@@ -123,8 +122,7 @@ CServerApp::~CServerApp()
}
catch (const CORBA::Exception& ex)
{
- ACE_PRINT_EXCEPTION (ex,
- "Caught exception:");
+ ex._tao_print_exception ("Caught exception:");
}