diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/Command.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/lib/Command.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Command.cpp b/TAO/orbsvcs/tests/Notify/lib/Command.cpp index 085a49bbcae..1704b36dcc1 100644 --- a/TAO/orbsvcs/tests/Notify/lib/Command.cpp +++ b/TAO/orbsvcs/tests/Notify/lib/Command.cpp @@ -41,16 +41,16 @@ TAO_Notify_Tests_Command::execute (void) { ACE_DEBUG ((LM_DEBUG, "Executing command: %s\n", this->get_name ())); - ACE_TRY + try { this->execute_i (); } - ACE_CATCHANY + catch (const CORBA::Exception& ex) { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - ACE_TEXT("Error: Exception running command\n")); + ex._tao_print_exception ( + ACE_TEXT( + "Error: Exception running command\n")); } - ACE_ENDTRY; } if (this->next_) |