diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-12-04 12:06:15 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-12-04 12:06:15 +0100 |
commit | 0c62602a2fca96d202998151f57c3ddf2ed35f28 (patch) | |
tree | e96d5d6822c8520265570c77c0bb0bb1f63422a0 /TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp | |
parent | 88084b099ceba7bea4246f990b6e421833d7c21b (diff) | |
download | ATCD-0c62602a2fca96d202998151f57c3ddf2ed35f28.tar.gz |
Const enhancements and log where we get the exception during the reply handler so that we can better follow an error case in a log file
* TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp:
* TAO/tao/Messaging/Asynch_Reply_Dispatcher.cpp:
Diffstat (limited to 'TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp')
-rw-r--r-- | TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp b/TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp index 7e987815b35..f7cab432921 100644 --- a/TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp +++ b/TAO/tao/DynamicInterface/DII_Reply_Dispatcher.cpp @@ -58,8 +58,8 @@ TAO_DII_Deferred_Reply_Dispatcher::dispatch_reply ( // Steal the buffer, that way we don't do any unnecessary copies of // this data. - CORBA::ULong max = params.svc_ctx_.maximum (); - CORBA::ULong len = params.svc_ctx_.length (); + CORBA::ULong const max = params.svc_ctx_.maximum (); + CORBA::ULong const len = params.svc_ctx_.length (); IOP::ServiceContext* context_list = params.svc_ctx_.get_buffer (1); this->reply_service_info_.replace (max, len, context_list, 1); @@ -78,7 +78,7 @@ TAO_DII_Deferred_Reply_Dispatcher::dispatch_reply ( { if (TAO_debug_level >= 4) { - ex._tao_print_exception ("Exception during reply handler"); + ex._tao_print_exception ("TAO_Asynch_Reply_Dispatcher::dispatch_reply, exception during reply handler"); } } @@ -167,8 +167,8 @@ TAO_DII_Asynch_Reply_Dispatcher::dispatch_reply ( // Steal the buffer, that way we don't do any unnecessary copies of // this data. - CORBA::ULong max = params.svc_ctx_.maximum (); - CORBA::ULong len = params.svc_ctx_.length (); + CORBA::ULong const max = params.svc_ctx_.maximum (); + CORBA::ULong const len = params.svc_ctx_.length (); IOP::ServiceContext* context_list = params.svc_ctx_.get_buffer (1); this->reply_service_info_.replace (max, len, context_list, 1); @@ -191,7 +191,7 @@ TAO_DII_Asynch_Reply_Dispatcher::dispatch_reply ( { if (TAO_debug_level >= 4) { - ex._tao_print_exception ("Exception during reply handler"); + ex._tao_print_exception ("TAO_DII_Asynch_Reply_Dispatcher::dispatch_reply, exception during reply handler"); } } // This was dynamically allocated. Now the job is done. |