/* -*- C++ -*- */

//=============================================================================
/**
 *  @file    exception_cs.h
 *
 *  $Id: exception_cs.h 88828 2010-02-04 09:09:22Z johnnyw $
 *
 *  Visitor for Exceptions.
 *  For code generation in client stubs.
 *
 *
 *  @author Aniruddha Gokhale
 */
//=============================================================================


#ifndef _BE_VISITOR_EXCEPTION_EXCEPTION_CS_H_
#define _BE_VISITOR_EXCEPTION_EXCEPTION_CS_H_

/**
 * @class be_visitor_exception_cs
 *
 * @brief be_visitor_exception_cs
 *
 * This is a concrete visitor to generate the client stubs for exception
 */
class be_visitor_exception_cs : public be_visitor_exception
{
public:
  /// ctor
  be_visitor_exception_cs (be_visitor_context *ctx);

  /// dtor
  ~be_visitor_exception_cs (void);

  /// visit exception. We provide code for this method in the derived class
  virtual int visit_exception (be_exception *node);

};

#endif /* _BE_VISITOR_EXCEPTION_EXCEPTION_CS_H_ */
