Source-highlight Library
srchilite::ParserException Struct Reference

Represents an exception during parsing, for instance, syntax errors. More...

#include <parserexception.h>

Inheritance diagram for srchilite::ParserException:
Collaboration diagram for srchilite::ParserException:

Public Member Functions

 ParserException (const std::string &_message, const ParseStruct *parserinfo)
 
 ParserException (const std::string &_message, const std::string &filename="", unsigned int line=0)
 
virtual const char * what () const throw ()
 

Public Attributes

std::string message
 detailed message for this exception
 
std::string additional
 additional explaining message
 
std::string filename
 filename of the element that caused this exception
 
unsigned int line
 line of the element that caused this exception
 

Detailed Description

Represents an exception during parsing, for instance, syntax errors.


The documentation for this struct was generated from the following files: