1 // cl_notreached_exception().
4 #include "base/cl_sysdep.h"
7 #include "base/cl_macros.h"
17 static inline const std::string
18 notreached_error_msg (const char* filename, int lineno)
20 std::ostringstream buf;
21 fprint(buf, "Internal error: statement in file ");
22 fprint(buf, filename);
23 fprint(buf, ", line ");
24 fprintdecimal(buf, lineno);
25 fprint(buf, " has been reached!!\n");
26 fprint(buf, "Please send the authors of the program a description how you produced this error!");
30 notreached_exception::notreached_exception (const char* filename, int lineno)
31 : runtime_exception(notreached_error_msg(filename, lineno))