FMT 0.9.8
Forest management tools for forest planning
|
#include <FMTerror.hpp>
Public Member Functions | |
~FMTerror ()=default | |
FMTerror & | operator= (const FMTerror &)=default |
FMTerror () | |
FMTerror (const FMTexception &rhs) | |
FMTerror (const FMTexc lexception, const std::string message) | |
FMTerror (const FMTexc lexception, const Core::FMTsection lsection, const std::string message) | |
FMTerror (const FMTexc lexception, const Core::FMTsection lsection, const std::string message, const std::string &lmethod, const std::string &lfile, const int &lline) | |
FMTerror (const FMTexc lexception, const std::string message, const std::string &lmethod, const std::string &lfile, const int &lline) | |
FMTerror (const CoinError &coinexception) | |
FMTerror (const boost::bad_graph &boostexception) | |
Public Member Functions inherited from Exception::FMTexception | |
FMTexception () | |
virtual | ~FMTexception ()=default |
FMTexception (const std::exception &baseexception) | |
FMTexception (const FMTexc lexception, const std::string message) | |
FMTexception (const FMTexc lexception, Core::FMTsection lsection, const std::string message) | |
FMTexception (const FMTexc lexception, Core::FMTsection lsection, const std::string message, const std::string &lmethod, const std::string &lfile, const int &lline) | |
FMTexception (const FMTexc lexception, Core::FMTsection lsection, const std::string message, const std::string &lmethod) | |
FMTexception (const FMTexc lexception, const std::string message, const std::string &lmethod, const std::string &lfile, const int &lline) | |
FMTexception (const FMTexc lexception, const std::string message, const std::string &lmethod) | |
FMTexception (const FMTexception &rhs) | |
FMTexception & | operator= (const FMTexception &rhs) |
FMTexc | gettype () const |
Core::FMTsection | getsection () const |
const char * | what () const override throw () |
bool | hold () const |
void | sethold (bool side) |
std::string | getmethod () const |
std::string | getfile () const |
int | getline () const |
std::string | getsrcinfo () const |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from Exception::FMTexception | |
bool | holdup |
std::string | _msg |
Keeps the message string of the exception. | |
FMTexc | exceptiontype |
Type of the exception thrown. | |
Core::FMTsection | section |
Section in which the exception just happened. | |
std::string | method |
Function where the exception just happened. | |
std::string | file |
Source file where the exception just happened. | |
int | line |
Source file line where the exception just happened. | |
FMTerror is derived from the FMTexception base class. See FMTexception class for more information about the member data. Any error should throw in FMT.
|
default |
Default destructor for FMTerror.
Exception::FMTerror::FMTerror | ( | ) |
Default constructor for FMTerror.
Exception::FMTerror::FMTerror | ( | const FMTexception & | rhs | ) |
Default copy constructor for FMTerror.
Exception::FMTerror::FMTerror | ( | const FMTexc | lexception, |
const std::string | message | ||
) |
Constructor for FMTerror taking a exception type and message string as arguments.
Exception::FMTerror::FMTerror | ( | const FMTexc | lexception, |
const Core::FMTsection | lsection, | ||
const std::string | message | ||
) |
Constructor for FMTerror taking a exception type, section in which the error occur and message string as arguments.
Exception::FMTerror::FMTerror | ( | const FMTexc | lexception, |
const Core::FMTsection | lsection, | ||
const std::string | message, | ||
const std::string & | lmethod, | ||
const std::string & | lfile, | ||
const int & | lline | ||
) |
Constructor for FMTerror taking a exception type, section in which the error occur and message string as arguments and the location where the exception occured (method/file/line).
Exception::FMTerror::FMTerror | ( | const FMTexc | lexception, |
const std::string | message, | ||
const std::string & | lmethod, | ||
const std::string & | lfile, | ||
const int & | lline | ||
) |
Constructor for FMTerror taking a exception type, section in which the error occur and message string as arguments and the location where the exception occured (method/file/line).
Exception::FMTerror::FMTerror | ( | const CoinError & | coinexception | ) |
Constructor for FMTerror from a CoinError.
Exception::FMTerror::FMTerror | ( | const boost::bad_graph & | boostexception | ) |
Constructor for FMTerror from a boost::bad_graph.
Default assignment operator for FMTerror.
|
friend |
Serialize function is for serialization, used to do multiprocessing across multiple cpus (pickle in Pyhton)