diff options
Diffstat (limited to 'src/preview/PreviewModelException.h')
| -rw-r--r-- | src/preview/PreviewModelException.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/preview/PreviewModelException.h b/src/preview/PreviewModelException.h deleted file mode 100644 index 85dce1d..0000000 --- a/src/preview/PreviewModelException.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef PREVIEWMODELEXCEPTION_H_ -#define PREVIEWMODELEXCEPTION_H_ - -#include <string> -#include <exception> -using namespace std; - -struct PreviewModelException: public exception { - string message; -public: - PreviewModelException(string message_): message(message_) {} - const char * what() const throw() - { - return message.c_str(); - } - ~PreviewModelException() throw() {}; -}; - -#endif /* PREVIEWMODELEXCEPTION_H_ */ |
