Handling search of config file in multiple directories, additional debug messages
[vlp.git] / src / global / vlp / exception / ConfigFileNotFound.h
diff --git a/src/global/vlp/exception/ConfigFileNotFound.h b/src/global/vlp/exception/ConfigFileNotFound.h
new file mode 100644 (file)
index 0000000..25464a3
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef __VLP_EXCEPTION_CONFIGFILENOTFOUND_H
+#define __VLP_EXCEPTION_CONFIGFILENOTFOUND_H
+
+#include <stdexcept>
+
+/**
+ * @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 */