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