mxException for errors reading from a file
Definition at line 293 of file mxException.hpp.
#include <mxException.hpp>
|
| filererr (const std::string &esrc, const std::string &efile, const int &line, const std::string &expl) |
|
| filererr (const std::string &esrc, const int &en, const std::string &efile, const int &line, const std::string &expl) |
|
| mxException () noexcept |
| Default constructor. More...
|
|
| mxException (const mxException &e) noexcept |
| Copy constructor. More...
|
|
| mxException (const std::string &esrc, const int &ec, const std::string &emnem, const std::string &efile, const int &line, const std::string &expl) |
| Construct and fill in each of the values, except errno. More...
|
|
| mxException (const std::string &esrc, const int &ec, const std::string &emnem, const int &en, const std::string &efile, const int &line, const std::string &expl) |
| Construct and fill in each of the values, including errno. More...
|
|
mxException & | operator= (const mxException &e) noexcept |
| Assignment operator. More...
|
|
virtual | ~mxException () throw () |
| Destructor. More...
|
|
virtual void | build_what () |
| Build the what string. More...
|
|
virtual const char * | what () const noexcept |
| Return the details of the exception as a single string. More...
|
|
◆ filererr() [1/2]
mx::err::filererr::filererr |
( |
const std::string & |
esrc, |
|
|
const std::string & |
efile, |
|
|
const int & |
line, |
|
|
const std::string & |
expl |
|
) |
| |
|
inline |
- Parameters
-
[in] | esrc | the source of the exception, typically the class and function |
[in] | efile | the source file in which the exception occurred, normally __FILE__ |
[in] | line | the line number where the exception was thrown |
[in] | expl | the explanation for why the exception was thrown |
Definition at line 296 of file mxException.hpp.
◆ filererr() [2/2]
mx::err::filererr::filererr |
( |
const std::string & |
esrc, |
|
|
const int & |
en, |
|
|
const std::string & |
efile, |
|
|
const int & |
line, |
|
|
const std::string & |
expl |
|
) |
| |
|
inline |
- Parameters
-
[in] | esrc | the source of the exception, typically the class and function |
[in] | en | the value of errno |
[in] | efile | the source file in which the exception occurred, normally __FILE__ |
[in] | line | the line number where the exception was thrown |
[in] | expl | the explanation for why the exception was thrown |
Definition at line 303 of file mxException.hpp.
The documentation for this class was generated from the following file: