summaryrefslogtreecommitdiff
path: root/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Event_Comm/Supplier_Input_Handler.cpp')
-rw-r--r--TAO/examples/Event_Comm/Supplier_Input_Handler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp b/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp
index b6322eccd73..b82a857b9fb 100644
--- a/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp
+++ b/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp
@@ -58,7 +58,7 @@ Supplier_Input_Handler::initialize (Notifier_Handler *notifier)
// Frame input events and notify <Consumers>.
int
-Supplier_Input_Handler::handle_input (ACE_HANDLE)
+Supplier_Input_Handler::handle_input (ACE_HANDLE h)
{
char buf[BUFSIZ];
@@ -113,7 +113,7 @@ Supplier_Input_Handler::handle_input (ACE_HANDLE)
}
ACE_CATCHANY
{
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected Error\n");
+ ACE_TRY_ENV.print_exception ("Unexpected Error\n");
}
ACE_ENDTRY;
}