Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

HeyParserException Class Reference

List of all members.

Detailed Description

Base class for exceptions thrown by the parser.

See also:
HeyParser


Public Member Functions

 HeyParserException (const char *msg=NULL)
 Construct a HeyParserException object with an optional descriptive message.

const char * getMessage ()

Private Attributes

const char * hpe_Message
 A short message describing the problem.


Friends

ostream & operator<< (ostream &os, const HeyParserException &hpe)
 Output stream operator for HeyParserException objects.


Constructor & Destructor Documentation

HeyParserException::HeyParserException const char *  msg = NULL  )  [inline]
 

Construct a HeyParserException object with an optional descriptive message.

Parameters:
msg A short message describing the problem.


Member Function Documentation

const char* HeyParserException::getMessage  )  [inline]
 

Returns:
The descriptive message passed into the constructor.


Friends And Related Function Documentation

ostream& operator<< ostream &  os,
const HeyParserException hpe
[friend]
 

Output stream operator for HeyParserException objects.

Currently just prints out the message passed into the constructor.

Parameters:
os The destination output stream.
hpe The object to output.
Returns:
The value of the 'os' parameter.


The documentation for this class was generated from the following file:
Generated on Mon Dec 1 16:22:41 2003 for CPUBroker by doxygen 1.3.4