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

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


#ifndef _BE_VISITOR_EXCEPTION_EXCEPTION_CH_H_
#define _BE_VISITOR_EXCEPTION_EXCEPTION_CH_H_

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

  /// destructureor
  ~be_visitor_exception_ch (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_CH_H_ */
