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

ParserException Class Reference

#include <ParserBase.h>

Inheritance diagram for ParserException:

ContextException Exception ParserInputException List of all members.

Public Member Functions

 ParserException (const ParserInput &input, const std::string &message) throw ()
 ParserException (const std::string &file, int line, const std::string &message) throw ()
 ParserException (int line, const std::string &message) throw ()
 ParserException (const std::string &message) throw ()
 ~ParserException () throw ()
int line () const throw ()
int line (int line) throw ()
const std::string & file () const throw ()
std::string file () throw ()
std::string file (const std::string file) throw ()
virtual const char * type () const throw ()
 Get a string tag identifying the exception type.
virtual std::string desc () const throw ()
 Get a string describing what happened that threw the exception.

Protected Attributes

std::string _file
int _line

Constructor & Destructor Documentation

ParserException::ParserException const ParserInput input,
const std::string &  message
throw ()
 

ParserException::ParserException const std::string &  file,
int  line,
const std::string &  message
throw () [inline]
 

ParserException::ParserException int  line,
const std::string &  message
throw () [inline]
 

ParserException::ParserException const std::string &  message  )  throw () [inline]
 

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


Member Function Documentation

string ParserException::desc  )  const throw () [virtual]
 

Get a string describing what happened that threw the exception.

Reimplemented from ContextException.

std::string ParserException::file const std::string  file  )  throw () [inline]
 

std::string ParserException::file  )  throw () [inline]
 

const std::string& ParserException::file  )  const throw () [inline]
 

int ParserException::line int  line  )  throw () [inline]
 

int ParserException::line  )  const throw () [inline]
 

virtual const char* ParserException::type  )  const throw () [inline, virtual]
 

Get a string tag identifying the exception type.

Reimplemented from ContextException.

Reimplemented in ParserInputException.


Member Data Documentation

std::string ParserException::_file [protected]
 

int ParserException::_line [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Oct 26 18:30:09 2004 for libtagcoll by  doxygen 1.3.9.1