7 #ifndef PARSEREXCEPTION_H_
8 #define PARSEREXCEPTION_H_
38 const std::string &
filename =
"",
unsigned int line = 0);
41 virtual const
char* what ( ) const throw ();
44 std::ostream& operator<<(std::ostream& os, const
ParserException &entry);
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
Represents an exception during parsing, for instance, syntax errors.
Definition: parserexception.h:22
std::string message
detailed message for this exception
Definition: parserexception.h:24
unsigned int line
line of the element that caused this exception
Definition: parserexception.h:33
Definition: parsestruct.h:21
std::string filename
filename of the element that caused this exception
Definition: parserexception.h:30
std::string additional
additional explaining message
Definition: parserexception.h:27