diff options
Diffstat (limited to 'src/game/SaveLoadException.h')
| -rw-r--r-- | src/game/SaveLoadException.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/game/SaveLoadException.h b/src/game/SaveLoadException.h deleted file mode 100644 index fea2ad5..0000000 --- a/src/game/SaveLoadException.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SaveLoadException.h - * - * Created on: Mar 29, 2012 - * Author: Simon - */ - -#ifndef SAVELOADEXCEPTION_H_ -#define SAVELOADEXCEPTION_H_ - -#include <string> -#include <exception> -using namespace std; - -struct SaveLoadException: public exception { - string message; -public: - SaveLoadException(string message_): message(message_) {} - const char * what() const throw() - { - return message.c_str(); - } - ~SaveLoadException() throw() {}; -}; - -#endif /* SAVELOADEXCEPTION_H_ */ |
