src/core/defaults/NotImplemented.h

Go to the documentation of this file.
00001 #ifndef _NOTIMPLEMENTED_H
00002 #define _NOTIMPLEMENTED_H
00003 
00004 
00005 
00006 #define NOT_IMPLEMENTED(f)\
00007 f {\
00008   throw DmException(DMLITE_SYSERR(ENOSYS), "'%s' does not implement '%s'", this->getImplId().c_str(), __func__);\
00009 }
00010 
00011 
00012 
00013 #define NOT_IMPLEMENTED_WITHOUT_ID(f)\
00014 f {\
00015   throw DmException(DMLITE_SYSERR(ENOSYS), "'%s' not implemented", __func__);\
00016 }
00017 
00018 
00019 
00020 #define FACTORY_NOT_IMPLEMENTED(f) NOT_IMPLEMENTED_WITHOUT_ID(f)
00021 
00022 
00023 
00024 #endif

Generated on 28 Apr 2014 for dmlite by  doxygen 1.4.7