1 #ifndef COMPILER_EXCEPTION_H_INCLUDED
2 #define COMPILER_EXCEPTION_H_INCLUDED
14 virtual const char *
what()
const throw() {
return "compile error";}
24 virtual const char *
what()
const throw() {
return "can't read file"; }
34 virtual const char *
what()
const throw() {
return "end of file"; }
virtual const char * what() const
Return error message.
Definition: exception.hpp:24
Exception: Error while parsing the source.
Definition: exception.hpp:10
Exception: File error.
Definition: exception.hpp:20
virtual const char * what() const
Return error message.
Definition: exception.hpp:14
virtual const char * what() const
Return error message.
Definition: exception.hpp:34
Exception: EOF condition encountered.
Definition: exception.hpp:30