initial version

This commit is contained in:
2016-01-21 11:10:55 +01:00
parent 8818a9b216
commit a7dc0cabbb
21 changed files with 1397 additions and 0 deletions

23
Exception.h Executable file
View File

@@ -0,0 +1,23 @@
#ifndef EXCEPTION_H
#define EXCEPTION_H
#include <exception>
#include <string>
class Exception : public std::exception {
private:
/** the exception message */
std::string str;
public:
/** ctor */
Exception(const std::string& str) : str(str) {;}
const char* what() const throw() {return str.c_str();}
};
#endif // EXCEPTION_H