GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RuntimeExceptions.h
Go to the documentation of this file.
1 #ifndef _RUNTIMEEXCEPTIONS_H_
2 #define _RUNTIMEEXCEPTIONS_H_
3 
4 #include <stdexcept>
5 
6 struct RuntimeException : public std::runtime_error {
7  RuntimeException(const std::string& msg) : std::runtime_error(msg) { }
8 };
9 
11  RuntimeFileNotFound(const std::string& msg) : RuntimeException(msg) { }
12 };
13 
15  RuntimeSymlinkCreation(const std::string& msg) : RuntimeException(msg) { }
16 };
17 
18 #endif /* _RUNTIMEEXCEPTIONS_H_ */