Class of exception to handle errors of Input/Output. More...
Public Member Functions | |
io_exception () | |
empty constructor | |
io_exception (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 | |
Class of exception to handle errors of Input/Output.
cpe::io_exception::io_exception | ( | ) |
empty constructor
cpe::io_exception::io_exception | ( | const std::string & | msg, |
const std::string & | file, | ||
const std::string & | caller, | ||
const int & | line | ||
) |
constructor with error information
References line.
std::string cpe::io_exception::info | ( | ) | const |
|
private |
caller name storage
Referenced by info().
|
private |
file name storage
Referenced by info().
|
private |
error line storage
Referenced by info(), and io_exception().
|
private |
error message storage
Referenced by info().