Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ParseException Class Reference

#include <parse_util.hh>

Inheritance diagram for ParseException:

Inheritance graph
Collaboration diagram for ParseException:

Collaboration graph
List of all members.

Public Methods

 ParseException (const string &message_)
 ParseException ()
 ParseException (const Position &pos_, const string &message_)
 ~ParseException () throw ()
virtual const char* what () const throw ()
virtual operator string () const
const Positionwhere () const

Protected Attributes

string message
Position pos

Detailed Description

This is the exception used by all classes involved into parsing a grammar file.

Definition at line 130 of file parse_util.hh.

Constructor & Destructor Documentation

ParseException::ParseException ( const string & message_ ) [inline]

Definition at line 134 of file parse_util.hh.

ParseException::ParseException ( ) [inline]

Definition at line 139 of file parse_util.hh.

ParseException::ParseException ( const Position & pos_,
const string & message_ ) [inline]

Definition at line 144 of file parse_util.hh.

ParseException::~ParseException ( ) throw () [inline]

Definition at line 149 of file parse_util.hh.

Member Function Documentation

const char * ParseException::what ( ) const throw () [inline, virtual]

Definition at line 152 of file parse_util.hh.

Referenced by formatError().

ParseException::operator string ( ) const [inline, virtual]

Definition at line 157 of file parse_util.hh.

const Position & ParseException::where ( ) const [inline]

Definition at line 162 of file parse_util.hh.

Referenced by formatError().

Member Data Documentation

string ParseException::message [protected]

Definition at line 170 of file parse_util.hh.

Position ParseException::pos [protected]

Definition at line 171 of file parse_util.hh.

The documentation for this class was generated from the following file:
Generated at Tue Jul 9 21:07:58 2002 for CppCC by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001