From 39668e74d887084a2295d7cf3d445e7c42d7704e Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Thu, 11 Dec 2014 14:26:56 +0100 Subject: Catch exceptions as const * CIAO/ciao/Containers/Container_Base_T.cpp: * CIAO/ciao/Deployment/Handlers/Connection_Handler.cpp: * CIAO/ciao/Deployment/Handlers/Home_Handler.cpp: * CIAO/ciao/Deployment/Handlers/Homed_Component_Handler.cpp: * CIAO/ciao/Deployment/Interceptors/Deployment_Interceptors.cpp: * CIAO/ciao/Deployment/Interceptors/Name_Utilities.cpp: * CIAO/performance-tests/Protocols/Controller/Controller.cpp: * CIAO/performance-tests/Protocols/Sender/Sender_exec.cpp: * CIAO/tests/DAnCE/Components/Progressive_exec.cpp: * CIAO/tests/DAnCE/Components/SimpleLocalUser_exec.cpp: * CIAO/tests/DAnCE/Components/SimpleUser_exec.cpp: * CIAO/tests/DAnCE/LocalityManager/UnexpectedShutdown/UnexpectedShutdown_exec.cpp: * DAnCE/dance/DomainApplication/Domain_Application_Impl.cpp: * DAnCE/dance/DomainApplicationManager/DomainApplicationManager_Impl.cpp: * DAnCE/dance/ExecutionManager/ExecutionManager_Impl.cpp: * DAnCE/dance/ExecutionManager/ExecutionManager_Module.cpp: * DAnCE/dance/LocalityManager/Scheduler/Events/Action_Base.cpp: * DAnCE/dance/NodeApplication/NodeApplication_Impl.cpp: * DAnCE/dance/Plan_Launcher/Plan_Launcher.cpp: * DAnCE/dance/RepositoryManager/repository_manager_admin.cpp: * DAnCE/dance/TargetManager/DomainDataManager.cpp: * DAnCE/dance/TargetManager/Target_Manager_Module.cpp: * DAnCE/tests/TargetManager/CmpClient.cpp: * DAnCE/tools/Config_Handlers/Any_Handler.cpp: * DAnCE/tools/Config_Handlers/XML_File_Intf.cpp: * DAnCE/tools/Domain_Validator/CORBA/CORBA_Domain_Validator_impl.cpp: * DAnCE/tools/System_Health/Interceptors/SHS_CORBA_Transport.cpp: * TAO/docs/tutorials/Quoter/AMI/client.cpp: * TAO/docs/tutorials/Quoter/AMI/server.cpp: * TAO/docs/tutorials/Quoter/Event_Service/client.cpp: * TAO/docs/tutorials/Quoter/Event_Service/server.cpp: * TAO/docs/tutorials/Quoter/Naming_Service/client.cpp: * TAO/docs/tutorials/Quoter/Naming_Service/server.cpp: * TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp: * TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp: * TAO/docs/tutorials/Quoter/RTCORBA/Admin.cpp: * TAO/docs/tutorials/Quoter/RTCORBA/Broker.cpp: * TAO/docs/tutorials/Quoter/RTCORBA/Distributor.cpp: * TAO/docs/tutorials/Quoter/RTCORBA/Distributor_i.cpp: * TAO/docs/tutorials/Quoter/RTCORBA/StockNameConsumer_i.cpp: * TAO/docs/tutorials/Quoter/RTCORBA/docs/distributor.html: * TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp: * TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp: * TAO/docs/tutorials/Quoter/Simple/Client/client.cpp: * TAO/docs/tutorials/Quoter/Simple/Client/index.html: * TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp: * TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp: * TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp: * TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp: * TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp: * TAO/docs/tutorials/Quoter/Simple/Server/index.html: * TAO/docs/tutorials/Quoter/Simple/Server/server.cpp: * TAO/examples/Borland/ChatClient.cpp: * TAO/examples/Borland/ChatClientWnd.cpp: * TAO/examples/Borland/ORBThread.cpp: * TAO/examples/RTScheduling/MIF_Scheduler/MIF_DT_Creator.cpp: * TAO/orbsvcs/IFR_Service/be_produce.cpp: * TAO/orbsvcs/Notify_Service/Notify_Service.cpp: * TAO/orbsvcs/examples/ImR/Advanced/TestClient.cpp: * TAO/orbsvcs/examples/ImR/Advanced/client_main.cpp: * TAO/orbsvcs/examples/ImR/Advanced/manager_main.cpp: * TAO/orbsvcs/examples/ImR/Advanced/server_main.cpp: * TAO/orbsvcs/examples/ImR/Combined_Service/combined.cpp: * TAO/orbsvcs/examples/ImR/Combined_Service/controller.cpp: * TAO/orbsvcs/examples/ImR/Combined_Service/test.cpp: * TAO/orbsvcs/examples/ImR/Combined_Service/test_server.cpp: * TAO/orbsvcs/examples/ORT/Gateway_i.cpp: * TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPullConsumer.cpp: * TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.cpp: * TAO/orbsvcs/orbsvcs/Event/EC_Gateway_IIOP.cpp: * TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: * TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_PG_Object_Group_Storable.cpp: * TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Persistent_Naming_Context.cpp: * TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context.cpp: * TAO/orbsvcs/orbsvcs/Notify/Consumer.cpp: * TAO/orbsvcs/orbsvcs/Notify/ETCL_FilterFactory.cpp: * TAO/orbsvcs/orbsvcs/Notify/Supplier.cpp: * TAO/orbsvcs/orbsvcs/PortableGroup/PG_ObjectGroupManager.cpp: * TAO/orbsvcs/tests/Bug_2800_Regression/nsmain.cpp: * TAO/orbsvcs/tests/Bug_2800_Regression/server.cpp: * TAO/orbsvcs/tests/Bug_3215_Regression/client.cpp: * TAO/orbsvcs/tests/Bug_3216_Regression/client.cpp: * TAO/orbsvcs/tests/Bug_3673_Regression/nsmain.cpp: * TAO/orbsvcs/tests/Bug_3673_Regression/server.cpp: * TAO/orbsvcs/tests/COIOP_Naming_Test/NamingTask.cpp: * TAO/orbsvcs/tests/CosEvent/Timeout/TestEventConsumer_i.cpp: * TAO/orbsvcs/tests/CosEvent/Timeout/TimeoutTestMain.cpp: * TAO/orbsvcs/tests/Event/Mcast/AddrServer/Server.cpp: * TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventConsumerMain.cpp: * TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventSupplierMain.cpp: * TAO/orbsvcs/tests/FT_Naming/FaultTolerant/client.cpp: * TAO/orbsvcs/tests/FT_Naming/Federation/server.cpp: * TAO/orbsvcs/tests/FT_Naming/Load_Balancing/client.cpp: * TAO/orbsvcs/tests/ImplRepo/Bug_2604_Regression/MessengerClient.cpp: * TAO/orbsvcs/tests/ImplRepo/Bug_2604_Regression/MessengerServer.cpp: * TAO/orbsvcs/tests/ImplRepo/NotifyService/test.cpp: * TAO/orbsvcs/tests/ImplRepo/double_start/client.cpp: * TAO/orbsvcs/tests/ImplRepo/ping_interrupt/server_interceptor.cpp: * TAO/orbsvcs/tests/ImplRepo/servers_interact_on_startup/client.cpp: * TAO/orbsvcs/tests/ImplRepo/servers_interact_on_startup/server.cpp: * TAO/orbsvcs/tests/InterfaceRepo/Bug_2962_Regression/client.cpp: * TAO/orbsvcs/tests/InterfaceRepo/Bug_3155_Regression/test_idl.cpp: * TAO/orbsvcs/tests/InterfaceRepo/Bug_3174_Regression/test_idl.cpp: * TAO/orbsvcs/tests/Notify/Bug_1884_Regression/common.h: * TAO/orbsvcs/tests/Notify/Bug_1884_Regression/consumer.cpp: * TAO/orbsvcs/tests/Notify/Bug_1884_Regression/filter.cpp: * TAO/orbsvcs/tests/Notify/Bug_1884_Regression/supplier.cpp: * TAO/orbsvcs/tests/Notify/Bug_3688_Regression/common.h: * TAO/orbsvcs/tests/Notify/Bug_3688_Regression/consumer.cpp: * TAO/orbsvcs/tests/Notify/Bug_3688_Regression/supplier.cpp: * TAO/orbsvcs/tests/Notify/Test_Filter/RT_Test_FilterFactory.cpp: * TAO/orbsvcs/tests/Security/Bug_1107_Regression/client.cpp: * TAO/orbsvcs/tests/Security/EndpointPolicy/test.cpp: * TAO/orbsvcs/tests/Security/InsecureReferences/test.cpp: * TAO/orbsvcs/tests/Security/mixed_security_test/Foo_i.cpp: * TAO/orbsvcs/tests/Security/mixed_security_test/client.cpp: * TAO/orbsvcs/tests/Security/mixed_security_test/server.cpp: * TAO/performance-tests/Sequence_Latency/Sequence_Operations_Time/test.cpp: * TAO/tao/IORTable/Async_IOR_Table_Impl.cpp: * TAO/tests/Bug_2241_Regression/Client_Task.cpp: * TAO/tests/Bug_2345_Regression/server.cpp: * TAO/tests/Bug_2494_Regression/client.cpp: * TAO/tests/Bug_2494_Regression/server.cpp: * TAO/tests/Bug_2560_Regression/Stock_Factory_i.cpp: * TAO/tests/Bug_2560_Regression/client.cpp: * TAO/tests/Bug_2560_Regression/server.cpp: * TAO/tests/Bug_2654_Regression/client.cpp: * TAO/tests/Bug_2683_Regression/client.cpp: * TAO/tests/Bug_2683_Regression/server.cpp: * TAO/tests/Bug_2809_Regression/server.cpp: * TAO/tests/Bug_3068_Regression/client.cpp: * TAO/tests/Bug_3068_Regression/server.cpp: * TAO/tests/Bug_3068_Regression/test_i.cpp: * TAO/tests/Bug_3276_Regression/client.cpp: * TAO/tests/Bug_3531_Regression/client.cpp: * TAO/tests/Bug_3531_Regression/server.cpp: * TAO/tests/Bug_3531b_Regression/server.cpp: * TAO/tests/Bug_3547_Regression/Stock_Quoter_Client.cpp: * TAO/tests/Bug_3547_Regression/Stock_Quoter_Server.cpp: * TAO/tests/Bug_3755_Ext_Regression/common.cpp: * TAO/tests/Bug_3755_Regression/server.cpp: * TAO/tests/Bug_3826_Regression/server.cpp: * TAO/tests/Bug_933_Regression/Messenger_i.cpp: * TAO/tests/Collocated_ThruP_Sp/Client_Task.cpp: * TAO/tests/Collocated_ThruP_Sp_Gd/Client_Task.cpp: * TAO/tests/CollocationLockup/CollocationLockup.cpp: * TAO/tests/CollocationLockup/SimpleNamingService.cpp: * TAO/tests/DII_AMI_Forward/DII_ReplyHandler.cpp: * TAO/tests/DII_AMI_Forward/client.cpp: * TAO/tests/DSI_AMI_Gateway/My_DII_Reply_Handler.cpp: * TAO/tests/Dynamic_TP/ORB_ThreadPool/Client.cpp: * TAO/tests/Dynamic_TP/POA_Loader/Dynamic_TP_POA_Test_Dynamic/client.cpp: * TAO/tests/Dynamic_TP/POA_Loader/Dynamic_TP_POA_Test_Static/client.cpp: * TAO/tests/MT_NoUpcall_Connect/client.cpp: * TAO/tests/Native_Exceptions/client.cpp: * TAO/tests/Native_Exceptions/server.cpp: * TAO/tests/Oneway_Send_Timeouts/Client.cpp: * TAO/tests/Oneway_Timeouts/client.cpp: * TAO/tests/Oneway_Timeouts/server.cpp: * TAO/tests/POA/EndpointPolicy/server.cpp: * TAO/tests/POA/Persistent_ID/client.cpp: * TAO/tests/Param_Test/except.cpp: * TAO/tests/Storable/test.cpp: * TAO/tests/UNKNOWN_Exception/client.cpp: * TAO/utils/monitor/monitor_client.cpp: --- TAO/utils/monitor/monitor_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TAO/utils/monitor') diff --git a/TAO/utils/monitor/monitor_client.cpp b/TAO/utils/monitor/monitor_client.cpp index 69ed3c43e12..3bb2643e476 100644 --- a/TAO/utils/monitor/monitor_client.cpp +++ b/TAO/utils/monitor/monitor_client.cpp @@ -152,7 +152,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) orb->destroy (); } - catch (CORBA::Exception &ex) + catch (const CORBA::Exception &ex) { ex._tao_print_exception ("Monitor_client: Exception caught:"); return 1; -- cgit v1.2.1