#include <ParserBase.h>
Inheritance diagram for Tagcoll::ParserException:
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 |
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] |
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.
std::string Tagcoll::ParserException::_file [protected] |
int Tagcoll::ParserException::_line [protected] |