4 #ifndef DMLITE_CPP_EXCEPTIONS_H
5 #define DMLITE_CPP_EXCEPTIONS_H
7 #include "../common/config.h"
8 #include "../common/errno.h"
22 DmException(
int code,
const char* fmt, va_list args);
29 int code()
const throw();
30 const char*
what()
const throw();
36 void setMessage(
const char* fmt, va_list args);
41 #endif // DMLITE_CPP_EXCEPTIONS_H
Base exception class.
Definition: exceptions.h:17
int errorCode_
Definition: exceptions.h:33
void setMessage(const char *fmt, va_list args)
const char * what() const
std::string errorMsg_
Definition: exceptions.h:34