diff options
author | gokhale <asgokhale@users.noreply.github.com> | 1998-05-14 21:40:37 +0000 |
---|---|---|
committer | gokhale <asgokhale@users.noreply.github.com> | 1998-05-14 21:40:37 +0000 |
commit | 83d0ae7cec21db0b184c24e427ccd9116627ee77 (patch) | |
tree | 2aafd5959d787a80d94b1535844ff175ec2e1629 /TAO/TAO_IDL/be/be_visitor_operation.cpp | |
parent | 814d1fe0f8b866f53f8b2363925dbb72b0e365e0 (diff) | |
download | ATCD-83d0ae7cec21db0b184c24e427ccd9116627ee77.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation.cpp b/TAO/TAO_IDL/be/be_visitor_operation.cpp index 74cf3242159..3ceb559ac9f 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation.cpp @@ -853,8 +853,10 @@ be_visitor_operation_ss::visit_operation (be_operation *node) } *os << node->flatname () << "_paramdata};\n\n"; - // get the right object implementation. os->indent (); + // declare an environment variable for user raised exceptions + *os << "CORBA::Environment _tao_skel_environment;" << be_nl; + // get the right object implementation. *os << intf->full_skel_name () << " *_tao_impl = (" << intf->full_skel_name () << " *)_tao_object_reference;\n"; @@ -987,7 +989,7 @@ be_visitor_operation_ss::visit_operation (be_operation *node) if (node->argument_count () > 0) *os << ",\n"; os->indent (); - *os << "_tao_environment"; + *os << "_tao_skel_environment"; // end the upcall *os << be_uidt_nl; *os << ");\n"; @@ -1020,6 +1022,7 @@ be_visitor_operation_ss::visit_operation (be_operation *node) os->indent (); *os << "_tao_server_request.marshal (" << be_idt_nl << "_tao_environment, " << be_nl + << "_tao_skel_environment, " << be_nl << "&"; // check if we are an attribute node in disguise if (this->ctx_->attribute ()) |