diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-08 22:08:33 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-08 22:08:33 +0000 |
commit | 97caf949f95aa609526e17e62526a8a442ba40af (patch) | |
tree | c68b53ef59dc742c1541522b1c5834b3ee8632bb | |
parent | 25b7452fcb5444c24fd520a17de625288a952f19 (diff) | |
download | ATCD-97caf949f95aa609526e17e62526a8a442ba40af.tar.gz |
ChangeLogTag: Tue Aug 8 17:03:12 2000 Jeff Parsons <parsons@cs.wustl.edu>
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp b/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp index 9ceffba0582..d17e2e44cff 100644 --- a/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_exception/exception_cs.cpp @@ -64,8 +64,10 @@ int be_visitor_exception_cs::visit_exception (be_exception *node) *os << "// default constructor" << be_nl; *os << node->name () << "::" << node->local_name () << " (void)" << be_nl; if (!node->is_local ()) - *os << " : CORBA_UserException (\"" - << node->repoID () << "\")\n"; + *os << " : CORBA_UserException (" + << "::" << node->tc_name () << ")\n"; +// *os << " : CORBA_UserException (\"" +// << node->repoID () << "\")\n"; *os << "{" << be_nl; *os << "}\n\n"; @@ -93,7 +95,8 @@ int be_visitor_exception_cs::visit_exception (be_exception *node) *os << node->name () << "::" << node->local_name () << " (const ::" << node->name () << " &_tao_excp)" << be_nl; *os << " : CORBA_UserException (" - << "_tao_excp._id ())" << be_nl; + << "_tao_excp._type ())" << be_nl; +// << "_tao_excp._id ())" << be_nl; *os << "{\n"; be_visitor_context ctx (*this->ctx_); @@ -262,8 +265,10 @@ int be_visitor_exception_cs::visit_exception (be_exception *node) if (!node->is_local ()) *os << " : CORBA_UserException " - << " (CORBA::string_dup (\"" << node->repoID () - << "\"))" << be_nl; + << " (CORBA::TypeCode::_duplicate (" << node->tc_name () + << "))" << be_nl; +// << " (CORBA::string_dup (\"" << node->repoID () +// << "\"))" << be_nl; *os << "{\n"; os->incr_indent (); // assign each individual member. We need yet another state @@ -319,7 +324,7 @@ int be_visitor_exception_cs::visit_exception (be_exception *node) *os << "return CORBA::TypeCode::_nil ();" << be_uidt_nl; } - *os << "}" << be_nl; + *os << "}" << be_nl << be_nl; node->cli_stub_gen (I_TRUE); } |