MLBookProc 1.3
Loading...
Searching...
No Matches
MLException Class Reference

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.
MLExceptionoperator= (const MLException &other)
 operator =
MLExceptionoperator= (MLException &&other)
 operator =
 operator bool ()
 Returns true if MLException contains message.
std::string what ()
 Returns error message.

Detailed Description

The MLException class.

This class is used as exception to indicate various errors.

Deprecated
This class is deprecated and will be removed in future releases. MLBookProc uses std::exception for exceptions now.

Constructor & Destructor Documentation

◆ MLException()

MLException::MLException ( const std::string & msg)

MLException constructor.

Parameters
msgmessage to be printed.

Member Function Documentation

◆ what()

std::string MLException::what ( )

Returns error message.

Returns
Error info message.