summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp')
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
index 8a3d9e0fbad..8fd760434c3 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
@@ -52,12 +52,14 @@ main (int argc, char *argv[])
}
ACE_CATCH (CORBA::SystemException, sysex)
{
- ACE_PRINT_EXCEPTION (sysex, "System Exception");
+ ACE_UNUSED_ARG (sysex);
+ ACE_TRY_ENV.print_exception ("System Exception");
return -1;
}
ACE_CATCH (CORBA::UserException, userex)
{
- ACE_PRINT_EXCEPTION (userex, "User Exception");
+ ACE_UNUSED_ARG (userex);
+ ACE_TRY_ENV.print_exception ("User Exception");
return -1;
}
ACE_ENDTRY;