25 #include "glfException.hh"
31 const std::string& message)
34 lineNumber_ = lineNumber;
37 s <<
"(" << fileName <<
", " << lineNumber <<
"): " << message;
int GetLineNumber() const
Returns the line number in the source code file where the error occured.
glfException(const std::string &fileName, int lineNumber, const std::string &message)
Exception constructor.
const std::string & GetMessageString() const
Returns the description of the error including the file name and line number where the error occured...
const std::string & GetFileName() const
Returns the source code file name where the error occured.