2 //=============================================================================
4 * @file exception_ci.cpp
6 * Visitor generating code for Exception in the inline file.
8 * @author Aniruddha Gokhale
10 //=============================================================================
12 #include "exception.h"
14 be_visitor_exception_ci::be_visitor_exception_ci (be_visitor_context
*ctx
)
15 : be_visitor_exception (ctx
)
19 be_visitor_exception_ci::~be_visitor_exception_ci ()
23 // visit the Exception node and its scope
24 int be_visitor_exception_ci::visit_exception (be_exception
*node
)
26 if (node
->cli_inline_gen () || node
->imported ())
31 // Generate inline code required of any anonymous types of members.
32 if (this->visit_scope (node
) == -1)
34 ACE_ERROR_RETURN ((LM_ERROR
,
35 "(%N:%l) be_visitor_exception::"
37 "code for inline failed\n"),
41 node
->cli_inline_gen (true);