diff options
author | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-23 15:44:49 +0000 |
---|---|---|
committer | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-23 15:44:49 +0000 |
commit | 441cd35f9d481563f304ec19c25d30de356a94d4 (patch) | |
tree | b4f11e3c1c23d33af7831596a93f9889c7864d55 /TAO | |
parent | 1b6aa47f62d2a98682fec2728d513d7a68dacf2d (diff) | |
download | ATCD-441cd35f9d481563f304ec19c25d30de356a94d4.tar.gz |
ChangeLogTag: Sat Mar 23 10:42:42 2002 Craig Rodrigues <crodrigu@bbn.com>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 6 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_operation/operation.cpp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index a1a0ddde182..ba0454c0ead 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +Sat Mar 23 10:42:42 2002 Craig Rodrigues <crodrigu@bbn.com> + + * TAO_IDL/be/be_visitor_operation/operation.cpp: + Fix case where exception list is not generated if + operation is part of a valuetype. + Fri Mar 22 19:19:18 2002 Ossama Othman <ossama@uci.edu> * tao/CDR_Encaps_Codec.cpp (encode_value): diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp index 83c38bdc3b1..16a8dfb1888 100644 --- a/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp +++ b/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp @@ -119,7 +119,7 @@ be_visitor_operation::gen_throw_spec (be_operation *node) be_interface *iface = be_interface::narrow_from_decl (scope); // Check if this is IF and it's not VT. - if (!(iface != 0 && iface->is_valuetype ())) + if (iface != 0 && !iface->is_valuetype ()) { *os << be_idt_nl << throw_spec_open; *os << be_idt_nl << "CORBA::SystemException"; @@ -163,7 +163,7 @@ be_visitor_operation::gen_throw_spec (be_operation *node) } // Check if this is IF and it's not VT. - if (!(iface != 0 && iface->is_valuetype ())) + if (iface != 0 && !iface->is_valuetype ()) { *os << be_uidt_nl << throw_spec_close << be_uidt; } |