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

HeyParserException Class Reference

List of all members.

Detailed Description

Base class for exceptions thrown by the parser.

See also:
HeyParser

Definition at line 32 of file HeyParser.hh.

Public Member Functions

 HeyParserException (const char *msg=NULL, const char *value=NULL)
 Construct a HeyParserException object with an optional descriptive message.
const char * getMessage (void) const
const char * getValue (void) const

Private Attributes

const char * hpe_Message
 A short message describing the problem.
const char * hpe_Value
 The value that caused the problem.

Friends

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


Constructor & Destructor Documentation

HeyParserException::HeyParserException const char *  msg = NULL,
const char *  value = NULL
[inline]
 

Construct a HeyParserException object with an optional descriptive message.

Parameters:
msg A short message describing the problem.
value The value that caused the problem.

Definition at line 44 of file HeyParser.hh.


Member Function Documentation

const char* HeyParserException::getMessage void   )  const [inline]
 

Returns:
The descriptive message passed into the constructor.

Definition at line 54 of file HeyParser.hh.

const char* HeyParserException::getValue void   )  const [inline]
 

Returns:
The value passed into the constructor.

Definition at line 62 of file HeyParser.hh.


Friends And Related Function Documentation

std::ostream& operator<< std::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.

Definition at line 75 of file HeyParser.hh.


The documentation for this class was generated from the following file:
Generated on Fri Oct 22 07:51:01 2004 for CPU Broker by  doxygen 1.3.9.1