diff options
Diffstat (limited to 'TAO/examples/Event_Comm')
-rw-r--r-- | TAO/examples/Event_Comm/Consumer_Handler.cpp | 6 | ||||
-rw-r--r-- | TAO/examples/Event_Comm/Consumer_Input_Handler.cpp | 3 | ||||
-rw-r--r-- | TAO/examples/Event_Comm/Event_Comm_i.cpp | 3 | ||||
-rw-r--r-- | TAO/examples/Event_Comm/Notifier_Handler.cpp | 3 | ||||
-rw-r--r-- | TAO/examples/Event_Comm/Notifier_Server.cpp | 3 | ||||
-rw-r--r-- | TAO/examples/Event_Comm/notifier.cpp | 3 |
6 files changed, 7 insertions, 14 deletions
diff --git a/TAO/examples/Event_Comm/Consumer_Handler.cpp b/TAO/examples/Event_Comm/Consumer_Handler.cpp index a3ac7378c5c..ed40e2a714f 100644 --- a/TAO/examples/Event_Comm/Consumer_Handler.cpp +++ b/TAO/examples/Event_Comm/Consumer_Handler.cpp @@ -74,8 +74,7 @@ Consumer_Handler::init (int argc, } catch (const CORBA::Exception& ex) { - ACE_PRINT_EXCEPTION (ex, - "Consumer_Handler::init\n"); + ex._tao_print_exception ("Consumer_Handler::init\n"); return -1; } @@ -108,8 +107,7 @@ Consumer_Handler::get_notifier (void) } catch (const CORBA::Exception& ex) { - ACE_PRINT_EXCEPTION (ex, - "Consumer_Handler::get_notifier\n"); + ex._tao_print_exception ("Consumer_Handler::get_notifier\n"); return -1; } diff --git a/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp b/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp index dc528072aa1..f6ce490ee8c 100644 --- a/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp +++ b/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp @@ -58,8 +58,7 @@ Consumer_Input_Handler::close (void) } catch (const CORBA::Exception& ex) { - ACE_PRINT_EXCEPTION (ex, - "Consumer_Input_Handler::handle_close\n"); + ex._tao_print_exception ("Consumer_Input_Handler::handle_close\n"); } } diff --git a/TAO/examples/Event_Comm/Event_Comm_i.cpp b/TAO/examples/Event_Comm/Event_Comm_i.cpp index d59cc645157..50068489754 100644 --- a/TAO/examples/Event_Comm/Event_Comm_i.cpp +++ b/TAO/examples/Event_Comm/Event_Comm_i.cpp @@ -372,8 +372,7 @@ Notifier_i::push (const Event_Comm::Event &event) } catch (const CORBA::Exception& ex) { - ACE_PRINT_EXCEPTION (ex, - "Unexpected exception\n"); + ex._tao_print_exception ("Unexpected exception\n"); continue; } count++; diff --git a/TAO/examples/Event_Comm/Notifier_Handler.cpp b/TAO/examples/Event_Comm/Notifier_Handler.cpp index ed928ca8d01..4df1cb9b4ac 100644 --- a/TAO/examples/Event_Comm/Notifier_Handler.cpp +++ b/TAO/examples/Event_Comm/Notifier_Handler.cpp @@ -126,8 +126,7 @@ Notifier_Handler::init (int argc, } catch (const CORBA::Exception& ex) { - ACE_PRINT_EXCEPTION (ex, - "Notifier_Handler::init\n"); + ex._tao_print_exception ("Notifier_Handler::init\n"); return -1; } diff --git a/TAO/examples/Event_Comm/Notifier_Server.cpp b/TAO/examples/Event_Comm/Notifier_Server.cpp index d2fe8321f33..0140ac2c9e3 100644 --- a/TAO/examples/Event_Comm/Notifier_Server.cpp +++ b/TAO/examples/Event_Comm/Notifier_Server.cpp @@ -81,8 +81,7 @@ Notifier_Server::init_naming_service (void) } catch (const CORBA::Exception& ex) { - ACE_PRINT_EXCEPTION (ex, - "Notifier_Server::init_naming_service\n"); + ex._tao_print_exception ("Notifier_Server::init_naming_service\n"); return -1; } diff --git a/TAO/examples/Event_Comm/notifier.cpp b/TAO/examples/Event_Comm/notifier.cpp index 8e8c0bc5a65..5ed51496242 100644 --- a/TAO/examples/Event_Comm/notifier.cpp +++ b/TAO/examples/Event_Comm/notifier.cpp @@ -38,8 +38,7 @@ Notifier::Notifier (int argc, char *argv[]) } catch (const CORBA::Exception& ex) { - ACE_PRINT_EXCEPTION (ex, - "Notifier_Server.init failed\n "); + ex._tao_print_exception ("Notifier_Server.init failed\n "); } // Register with the ORB's Reactor to receive a signal to shut us |