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