00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "kl_error.h"
00011
00012 #include <iostream>
00013
00014 #include "kl.h"
00015
00016 namespace atlas {
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 namespace kl_error {
00027
00028 void KLError::operator() (const char* mess) const
00029
00030
00031
00032
00033
00034 {
00035 std::cerr << mess << std::endl;
00036 std::cerr << "line #" << line << " in kl.cpp" << std::endl;
00037 std::cerr << "x = " << x << "; y = " << y << std::endl;
00038
00039 exit(0);
00040 }
00041
00042 }
00043
00044 }
00045