General exception class. More...
Inherited by cpe::exception_color, cpe::exception_image, cpe::exception_matrix2, cpe::exception_matrix3, cpe::exception_matrix4, cpe::exception_mesh, cpe::exception_p2d, cpe::exception_vec2, cpe::exception_vec3, and cpe::exception_vec4.
Public Member Functions | |
exception_cpe () | |
empty constructor More... | |
exception_cpe (const std::string &msg, const std::string &file, const std::string &caller, const int &line) | |
constructor with error information More... | |
std::string | info () const |
return error message More... | |
Private Attributes | |
std::string | message |
error message storage More... | |
std::string | caller |
caller name storage More... | |
std::string | file |
file name storage More... | |
std::string | line |
error line storage More... | |
General exception class.
cpe::exception_cpe::exception_cpe | ( | ) |
empty constructor
cpe::exception_cpe::exception_cpe | ( | const std::string & | msg, |
const std::string & | file, | ||
const std::string & | caller, | ||
const int & | line | ||
) |
constructor with error information
References line.
std::string cpe::exception_cpe::info | ( | ) | const |
|
private |
caller name storage
Referenced by info().
|
private |
file name storage
Referenced by info().
|
private |
error line storage
Referenced by exception_cpe(), and info().
|
private |
error message storage
Referenced by info().