summaryrefslogtreecommitdiff
path: root/TAO/docs
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2014-12-11 14:26:56 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2014-12-11 14:26:56 +0100
commit39668e74d887084a2295d7cf3d445e7c42d7704e (patch)
tree32b3862b94313e8abc5a7a2b45d8b6bced090426 /TAO/docs
parentcce2446f02f2e85d78067ff696b5d2c212de3ad4 (diff)
downloadATCD-39668e74d887084a2295d7cf3d445e7c42d7704e.tar.gz
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:
Diffstat (limited to 'TAO/docs')
-rw-r--r--TAO/docs/tutorials/Quoter/AMI/client.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/AMI/server.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Event_Service/client.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Event_Service/server.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Naming_Service/client.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Naming_Service/server.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/RTCORBA/Admin.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/RTCORBA/Broker.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/RTCORBA/Distributor.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/RTCORBA/Distributor_i.cpp4
-rw-r--r--TAO/docs/tutorials/Quoter/RTCORBA/StockNameConsumer_i.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/RTCORBA/docs/distributor.html6
-rw-r--r--TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/Client/client.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/Client/index.html4
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp2
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/Server/index.html20
-rw-r--r--TAO/docs/tutorials/Quoter/Simple/Server/server.cpp2
25 files changed, 38 insertions, 38 deletions
diff --git a/TAO/docs/tutorials/Quoter/AMI/client.cpp b/TAO/docs/tutorials/Quoter/AMI/client.cpp
index cf27865dc1a..e82a07f7b45 100644
--- a/TAO/docs/tutorials/Quoter/AMI/client.cpp
+++ b/TAO/docs/tutorials/Quoter/AMI/client.cpp
@@ -77,7 +77,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/AMI/server.cpp b/TAO/docs/tutorials/Quoter/AMI/server.cpp
index 0f04cc5119d..3e9d85ba4cb 100644
--- a/TAO/docs/tutorials/Quoter/AMI/server.cpp
+++ b/TAO/docs/tutorials/Quoter/AMI/server.cpp
@@ -38,7 +38,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Event_Service/client.cpp b/TAO/docs/tutorials/Quoter/Event_Service/client.cpp
index c1d577d0cbf..1ef4a0973da 100644
--- a/TAO/docs/tutorials/Quoter/Event_Service/client.cpp
+++ b/TAO/docs/tutorials/Quoter/Event_Service/client.cpp
@@ -46,7 +46,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Event_Service/server.cpp b/TAO/docs/tutorials/Quoter/Event_Service/server.cpp
index fb8a6175ff9..1e7241f0a12 100644
--- a/TAO/docs/tutorials/Quoter/Event_Service/server.cpp
+++ b/TAO/docs/tutorials/Quoter/Event_Service/server.cpp
@@ -96,7 +96,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Naming_Service/client.cpp b/TAO/docs/tutorials/Quoter/Naming_Service/client.cpp
index 7d6f53e5d18..2f81d84abe7 100644
--- a/TAO/docs/tutorials/Quoter/Naming_Service/client.cpp
+++ b/TAO/docs/tutorials/Quoter/Naming_Service/client.cpp
@@ -65,7 +65,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
// Finally destroy the ORB
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Naming_Service/server.cpp b/TAO/docs/tutorials/Quoter/Naming_Service/server.cpp
index 114f6d14c88..3ea2f315b90 100644
--- a/TAO/docs/tutorials/Quoter/Naming_Service/server.cpp
+++ b/TAO/docs/tutorials/Quoter/Naming_Service/server.cpp
@@ -47,7 +47,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp b/TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp
index cf27865dc1a..e82a07f7b45 100644
--- a/TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp
+++ b/TAO/docs/tutorials/Quoter/On_Demand_Activation/client.cpp
@@ -77,7 +77,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp b/TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp
index 144744986b8..5314c2284ef 100644
--- a/TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp
+++ b/TAO/docs/tutorials/Quoter/On_Demand_Activation/server.cpp
@@ -71,7 +71,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/RTCORBA/Admin.cpp b/TAO/docs/tutorials/Quoter/RTCORBA/Admin.cpp
index 392eddde61a..1e1cf9130f5 100644
--- a/TAO/docs/tutorials/Quoter/RTCORBA/Admin.cpp
+++ b/TAO/docs/tutorials/Quoter/RTCORBA/Admin.cpp
@@ -148,7 +148,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
// Cleanup the ORB.
orb->destroy ();
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
ex._tao_print_exception ("Exception caught:");
return 1;
diff --git a/TAO/docs/tutorials/Quoter/RTCORBA/Broker.cpp b/TAO/docs/tutorials/Quoter/RTCORBA/Broker.cpp
index ee2cb97d618..3aa440348be 100644
--- a/TAO/docs/tutorials/Quoter/RTCORBA/Broker.cpp
+++ b/TAO/docs/tutorials/Quoter/RTCORBA/Broker.cpp
@@ -203,7 +203,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
ex._tao_print_exception ("Exception caught:");
return 1;
diff --git a/TAO/docs/tutorials/Quoter/RTCORBA/Distributor.cpp b/TAO/docs/tutorials/Quoter/RTCORBA/Distributor.cpp
index 891fc309ac4..cf82cf24385 100644
--- a/TAO/docs/tutorials/Quoter/RTCORBA/Distributor.cpp
+++ b/TAO/docs/tutorials/Quoter/RTCORBA/Distributor.cpp
@@ -169,7 +169,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
ex._tao_print_exception ("Admin: ");
diff --git a/TAO/docs/tutorials/Quoter/RTCORBA/Distributor_i.cpp b/TAO/docs/tutorials/Quoter/RTCORBA/Distributor_i.cpp
index 96ea1189624..f2ee0a466cc 100644
--- a/TAO/docs/tutorials/Quoter/RTCORBA/Distributor_i.cpp
+++ b/TAO/docs/tutorials/Quoter/RTCORBA/Distributor_i.cpp
@@ -119,7 +119,7 @@ StockDistributor_i::provide_quoter_info (::Stock::Cookie *ck)
return quoter_var._retn ();
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
ex._tao_print_exception ("StockDistributor_i::provide_quoter_info");
return ::Stock::StockQuoter::_nil ();
@@ -208,7 +208,7 @@ struct Stock_Publisher
// publish!
item.second.first->push_StockName (this->sn_.in ());
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
ex._tao_print_exception ("Distributor: Stock_Publisher");
}
diff --git a/TAO/docs/tutorials/Quoter/RTCORBA/StockNameConsumer_i.cpp b/TAO/docs/tutorials/Quoter/RTCORBA/StockNameConsumer_i.cpp
index b3086fe8d36..641e33c54ec 100644
--- a/TAO/docs/tutorials/Quoter/RTCORBA/StockNameConsumer_i.cpp
+++ b/TAO/docs/tutorials/Quoter/RTCORBA/StockNameConsumer_i.cpp
@@ -50,7 +50,7 @@ void Stock_StockNameConsumer_i::push_StockName (::Stock::StockNames *the_stockna
{
e._tao_print_exception ("Stock exception: invalid stock name: ");
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
ex._tao_print_exception ("Stock_StockNameConsumer_i::push_StockName: ");
}
diff --git a/TAO/docs/tutorials/Quoter/RTCORBA/docs/distributor.html b/TAO/docs/tutorials/Quoter/RTCORBA/docs/distributor.html
index 64525c7cdf9..c0752c44f1a 100644
--- a/TAO/docs/tutorials/Quoter/RTCORBA/docs/distributor.html
+++ b/TAO/docs/tutorials/Quoter/RTCORBA/docs/distributor.html
@@ -248,8 +248,8 @@ While the state of the StockDistributor object is active, continue the following
<li>Publish the stock information to all the StockNameConsumer objects that have subscribed.</li>
<PRE>
for (Stock_StockDistributor_i::CookieMap::iterator iter = this->subscribers_list_.begin ();
- iter != this->subscribers_list_.end ();
- ++iter)
+ iter != this->subscribers_list_.end ();
+ ++iter)
{
try
{
@@ -265,7 +265,7 @@ While the state of the StockDistributor object is active, continue the following
// in the service_context list of the GIOP message.
STOCK_DATABASE->publish_stock_info (iter->second.first);
}
- catch (CORBA::Exception &ex)
+ catch (const CORBA::Exception &ex)
{
ACE_PRINT_EXCEPTION (ex, "Stock_StockDistributor_i::svc: ");
}
diff --git a/TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp b/TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp
index e6bf7683f00..bcd69672390 100644
--- a/TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp
+++ b/TAO/docs/tutorials/Quoter/RT_Event_Service/client.cpp
@@ -65,7 +65,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &ex) {
+ catch (const CORBA::Exception &ex) {
cerr << "CORBA exception raised!" << ex << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp b/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp
index 01129f67292..17dccb26536 100644
--- a/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp
+++ b/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp
@@ -96,7 +96,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Simple/Client/client.cpp b/TAO/docs/tutorials/Quoter/Simple/Client/client.cpp
index 23c8f86ae1f..80020421014 100644
--- a/TAO/docs/tutorials/Quoter/Simple/Client/client.cpp
+++ b/TAO/docs/tutorials/Quoter/Simple/Client/client.cpp
@@ -59,7 +59,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
// Finally destroy the ORB
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Simple/Client/index.html b/TAO/docs/tutorials/Quoter/Simple/Client/index.html
index 33a8cca7092..7ec67d00260 100644
--- a/TAO/docs/tutorials/Quoter/Simple/Client/index.html
+++ b/TAO/docs/tutorials/Quoter/Simple/Client/index.html
@@ -165,7 +165,7 @@ int main (int argc, char* argv[])
</P>
<PRE>
}
- catch (CORBA::Exception &ex) {
+ catch (const CORBA::Exception &ex) {
std::cerr << "CORBA exception raised!" << std::endl;
}
return 0;
@@ -189,7 +189,7 @@ int main (int argc, char* argv[])
orb->destroy ();
}
- catch (CORBA::Exception &ex) {
+ catch (const CORBA::Exception &ex) {
std::cerr << "CORBA exception raised!" << std::endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp b/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp
index 23c8f86ae1f..80020421014 100644
--- a/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp
+++ b/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/client.cpp
@@ -59,7 +59,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
// Finally destroy the ORB
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp b/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp
index eb0b39105a3..e4337ae6b7c 100644
--- a/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp
+++ b/TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp
@@ -100,7 +100,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
root_poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised !" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp b/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp
index c7b58b5420d..9e452b34601 100644
--- a/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp
+++ b/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/server.cpp
@@ -77,7 +77,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl
<< endl;
}
diff --git a/TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp b/TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp
index 23c8f86ae1f..80020421014 100644
--- a/TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp
+++ b/TAO/docs/tutorials/Quoter/Simple/Persistent/client.cpp
@@ -59,7 +59,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
// Finally destroy the ORB
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp b/TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp
index c42f81726a5..87a1c3dc7e3 100644
--- a/TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp
+++ b/TAO/docs/tutorials/Quoter/Simple/Persistent/server.cpp
@@ -92,7 +92,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
root_poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised !" << endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Simple/Server/index.html b/TAO/docs/tutorials/Quoter/Simple/Server/index.html
index ba48b718f6a..aeb82f41581 100644
--- a/TAO/docs/tutorials/Quoter/Simple/Server/index.html
+++ b/TAO/docs/tutorials/Quoter/Simple/Server/index.html
@@ -40,13 +40,13 @@ private:
};
</PRE>
<P>In a server, CORBA objects and functions are implemented and
- represented by programming language data and functions. These
- programming entities that implement and represent CORBA objects
- are called <I>servants</I>. <I>Object Adapters</I> link the world of
- CORBA objects to the world of programming language servants. They
- provide services for creation of CORBA objects and their object
+ represented by programming language data and functions. These
+ programming entities that implement and represent CORBA objects
+ are called <I>servants</I>. <I>Object Adapters</I> link the world of
+ CORBA objects to the world of programming language servants. They
+ provide services for creation of CORBA objects and their object
references and for dispatching requests to the appropriate
- servants.
+ servants.
</P>
<P>Notice the name of the base class. TAO implements the CORBA 2.2
specification, which includes the Portable Object Adapter (hence
@@ -63,7 +63,7 @@ private:
file names can be controlled through IDL compiler options in
most cases.
</P>
- <P>A server application may contain multiple POA instances, but all
+ <P>A server application may contain multiple POA instances, but all
server applications have at least one POA called the <I>RootPOA</I>.
<P>We have to implement the operations and attributes:
</P>
@@ -175,8 +175,8 @@ Quoter_Stock_Factory_i::get_stock (const char *symbol)
the client-side stubs and server-side skeletons are not related
through inheritance. You must either explicitly activate the
servant (your implementation object) or use <CODE>_this()</CODE> to
- activate it with its default POA. <CODE>_this()</CODE> creates and
- registers a CORBA object under the RootPOA, and returns the created
+ activate it with its default POA. <CODE>_this()</CODE> creates and
+ registers a CORBA object under the RootPOA, and returns the created
object reference for the new object. We will discuss more about
explicit and implicit activation later, but at this point it is
important to remove any thoughts about converting pointers to
@@ -262,7 +262,7 @@ int main (int argc, char* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &ex) {
+ catch (const CORBA::Exception &ex) {
std::cerr << "CORBA exception raised!" << std::endl;
}
return 0;
diff --git a/TAO/docs/tutorials/Quoter/Simple/Server/server.cpp b/TAO/docs/tutorials/Quoter/Simple/Server/server.cpp
index 3474e53c151..7553ee5702b 100644
--- a/TAO/docs/tutorials/Quoter/Simple/Server/server.cpp
+++ b/TAO/docs/tutorials/Quoter/Simple/Server/server.cpp
@@ -37,7 +37,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
poa->destroy (1, 1);
orb->destroy ();
}
- catch (CORBA::Exception &) {
+ catch (const CORBA::Exception &) {
cerr << "CORBA exception raised!" << endl;
}
return 0;