X-Git-Url: https://git.dlugolecki.net.pl/?p=vlp.git;a=blobdiff_plain;f=src%2Fglobal%2Fvlp%2Fexception%2FConfigFileNotFound.h;fp=src%2Fglobal%2Fvlp%2Fexception%2FConfigFileNotFound.h;h=25464a3044a8a621b0845c3233ca5fcb5bfb1b95;hp=0000000000000000000000000000000000000000;hb=1c031379a5928fe8a268f4b54bbef4b898a1ee20;hpb=3379d2caf9ee3a5b495144b395ccfa053fe699f0 diff --git a/src/global/vlp/exception/ConfigFileNotFound.h b/src/global/vlp/exception/ConfigFileNotFound.h new file mode 100644 index 0000000..25464a3 --- /dev/null +++ b/src/global/vlp/exception/ConfigFileNotFound.h @@ -0,0 +1,30 @@ +#ifndef __VLP_EXCEPTION_CONFIGFILENOTFOUND_H +#define __VLP_EXCEPTION_CONFIGFILENOTFOUND_H + +#include + +/** + * @file + * @author Rafał Długołęcki + */ + +namespace loglan { +namespace vlp { +namespace exception { + +/** + * Exception thrwon when configuration file has not been found + */ +class ConfigFileNotFound : public std::runtime_error +{ +public: + ConfigFileNotFound() : + std::runtime_error("Configuration file has not been found") { + } +}; + +} +} +} + +#endif /* __VLP_EXCEPTION_CONFIGFILENOTFOUND_H */