#include <Exceptions.h>
Definition at line 76 of file Exceptions.h.
M2ETIS_API m2etis::util::m2exception::m2exception |
( |
const util::log::LogLevel |
loglevel, |
|
|
const std::string & |
logmodule, |
|
|
const std::string & |
logmsg, |
|
|
const std::string & |
file, |
|
|
int |
line |
|
) |
| |
|
protected |
M2ETIS_API m2etis::util::m2exception::m2exception |
( |
const util::log::LogLevel |
loglevel, |
|
|
const std::string & |
logmodule, |
|
|
const std::string & |
logmsg, |
|
|
const std::string & |
file, |
|
|
int |
line, |
|
|
int |
errorcode |
|
) |
| |
|
protected |
M2ETIS_API int m2etis::util::m2exception::getErrorcode |
( |
| ) |
|
Returns the exception's errorcode or -1 if no errorcode is present.
M2ETIS_API void m2etis::util::m2exception::PassToMain |
( |
| ) |
|
virtual M2ETIS_API const char* m2etis::util::m2exception::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
virtual |
Overrides std::exception method to output message to console.
M2ETIS_API void m2etis::util::m2exception::writeLog |
( |
| ) |
|
Writes the exception's logmessage.
The documentation for this struct was generated from the following file: