General exception class. More...
Public Member Functions | |
exception_cpe () | |
empty constructor | |
exception_cpe (const std::string &msg, const std::string &file, const std::string &caller, const int &line) | |
constructor with error information | |
std::string | info () const |
return error message | |
Private Attributes | |
std::string | message |
error message storage | |
std::string | caller |
caller name storage | |
std::string | file |
file name storage | |
std::string | line |
error line storage |
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 |
std::string cpe::exception_cpe::caller [private] |
caller name storage
Referenced by info().
std::string cpe::exception_cpe::file [private] |
file name storage
Referenced by info().
std::string cpe::exception_cpe::line [private] |
error line storage
Referenced by exception_cpe(), and info().
std::string cpe::exception_cpe::message [private] |
error message storage
Referenced by info().