|
MLBookProc 1.3
|
The MLException class. More...
#include <MLException.h>
Public Member Functions | |
| MLException () | |
| MLException constructor. | |
| MLException (const std::string &msg) | |
| MLException constructor. | |
| MLException (const MLException &other) | |
| MLException copy constructor. | |
| MLException (MLException &&other) | |
| MLException move constructor. | |
| MLException & | operator= (const MLException &other) |
| operator = | |
| MLException & | operator= (MLException &&other) |
| operator = | |
| operator bool () | |
| Returns true if MLException contains message. | |
| std::string | what () |
| Returns error message. | |
The MLException class.
This class is used as exception to indicate various errors.
| MLException::MLException | ( | const std::string & | msg | ) |
MLException constructor.
| msg | message to be printed. |
| std::string MLException::what | ( | ) |
Returns error message.