Tagcoll::ParserException Class Reference

Base exception for parser errors. More...

#include <ParserBase.h>

Inheritance diagram for Tagcoll::ParserException:

Inheritance graph
[legend]
Collaboration diagram for Tagcoll::ParserException:

Collaboration graph
[legend]
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 ()
virtual ~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

Detailed Description

Base exception for parser errors.


Constructor & Destructor Documentation

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

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

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

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

virtual Tagcoll::ParserException::~ParserException (  )  throw () [inline, virtual]


Member Function Documentation

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

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

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

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

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

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

Get a string tag identifying the exception type.

Reimplemented from Tagcoll::ContextException.

Reimplemented in Tagcoll::ParserInputException.

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

Get a string describing what happened that threw the exception.

Reimplemented from Tagcoll::ContextException.


Member Data Documentation

std::string Tagcoll::ParserException::_file [protected]

int Tagcoll::ParserException::_line [protected]


The documentation for this class was generated from the following files:
Generated on Sat Jan 17 06:29:26 2009 for libtagcoll by  doxygen 1.5.1