summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_ami_pre_proc.cpp
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-09 20:01:43 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-01-09 20:01:43 +0000
commit9fccdb2b273c27254c4b5b97a4a4c4c0a11c6293 (patch)
tree2cc6453810e367e3d73629076547120f1b2a8427 /TAO/TAO_IDL/be/be_visitor_ami_pre_proc.cpp
parent7efd08dc4e81a237457490e654ef4bb878407149 (diff)
downloadATCD-9fccdb2b273c27254c4b5b97a4a4c4c0a11c6293.tar.gz
ChangeLogTag: Tue Jan 9 19:56:41 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_ami_pre_proc.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_ami_pre_proc.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_ami_pre_proc.cpp b/TAO/TAO_IDL/be/be_visitor_ami_pre_proc.cpp
index 7d4f8b25d67..7cb78d6bd37 100644
--- a/TAO/TAO_IDL/be/be_visitor_ami_pre_proc.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_ami_pre_proc.cpp
@@ -997,8 +997,14 @@ be_visitor_ami_pre_proc::create_excep_operation (be_operation *node,
arg->set_name (arg_name);
arg->set_defined_in (operation);
- // We do not copy the exceptions because the exceptions
- // are delivered by the excep methods.
+ // Copy the exceptions since the user exception information may
+ // be needed when collocation is disabled.
+ UTL_ExceptList *exceptions = node->exceptions ();
+
+ if (0 != exceptions)
+ {
+ operation->be_add_exceptions (exceptions->copy ());
+ }
// After having generated the operation we insert it into the
// reply handler interface.