m2etis  0.4
m2etis::util::ApiException Class Reference

Occurs when the engine detects a programmer's error. More...

#include <Exceptions.h>

Inheritance diagram for m2etis::util::ApiException:
Inheritance graph

Public Member Functions

M2ETIS_API ApiException (const std::string &logmodule, const std::string &logmsg, const std::string &file, const int line)
 
- Public Member Functions inherited from m2etis::util::m2exception
M2ETIS_API void writeLog ()
 Writes the exception's logmessage. More...
 
M2ETIS_API int getErrorcode ()
 Returns the exception's errorcode or -1 if no errorcode is present. More...
 
virtual M2ETIS_API const char * what () const throw ()
 Overrides std::exception method to output message to console. More...
 
M2ETIS_API void PassToMain ()
 writes the error message to the ExceptionQueue More...
 

Additional Inherited Members

- Protected Member Functions inherited from m2etis::util::m2exception
M2ETIS_API m2exception (const util::log::LogLevel loglevel, const std::string &logmodule, const std::string &logmsg, const std::string &file, int line)
 
M2ETIS_API m2exception (const util::log::LogLevel loglevel, const std::string &logmodule, const std::string &logmsg, const std::string &file, int line, int errorcode)
 

Detailed Description

Occurs when the engine detects a programmer's error.

Occurs when the engine detects a programmer's error like null-parameters, wrong call-sequence.

Definition at line 122 of file Exceptions.h.

Constructor & Destructor Documentation

M2ETIS_API m2etis::util::ApiException::ApiException ( const std::string &  logmodule,
const std::string &  logmsg,
const std::string &  file,
const int  line 
)

The documentation for this class was generated from the following file: