dmlite
0.6
src
core
defaults
NotImplemented.h
Go to the documentation of this file.
1
#ifndef _NOTIMPLEMENTED_H
2
#define _NOTIMPLEMENTED_H
3
4
5
6
#define NOT_IMPLEMENTED(f)\
7
f {\
8
throw DmException(DMLITE_SYSERR(ENOSYS), "'%s' does not implement '%s'"
, this->getImplId().c_str(), __func__);\
9
}
10
11
12
13
#define NOT_IMPLEMENTED_WITHOUT_ID(f)\
14
f {\
15
throw DmException(DMLITE_SYSERR(ENOSYS), "'%s' not implemented"
, __func__);\
16
}
17
18
19
20
#define FACTORY_NOT_IMPLEMENTED(f) NOT_IMPLEMENTED_WITHOUT_ID(f)
21
22
23
24
#endif
Generated on Thu Jan 19 2023 00:00:00 for dmlite by
1.9.6