diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/operation.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation/operation.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp index ca0903e4642..b1331e90d75 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp @@ -84,14 +84,10 @@ be_visitor_operation::has_param_type (be_operation *node, } //Method to generate the throw specs for exceptions that are thrown by the -//operation +//operation int be_visitor_operation::gen_throw_spec (be_operation *node) { - // @@ Don't generate throw spec for LC objref for now. This may not - // be the right behavior for all LC objref. - if (idl_global->gen_locality_constraint ()) - return 0; TAO_OutStream *os = this->ctx_->stream (); // grab the out stream @@ -99,7 +95,7 @@ be_visitor_operation::gen_throw_spec (be_operation *node) << be_idt_nl << "CORBA::SystemException"; if (node->exceptions ()) { - + // initialize an iterator to iterate thru the exception list UTL_ExceptlistActiveIterator *ei; ACE_NEW_RETURN (ei, @@ -119,7 +115,7 @@ be_visitor_operation::gen_throw_spec (be_operation *node) "bad exception node\n"), -1); } - + *os << "," << be_nl; // allocator method *os << excp->name (); @@ -150,3 +146,4 @@ be_visitor_operation::gen_environment_var () return null_env_decl; } } + |