diff options
Diffstat (limited to 'src/gui/localbrowser/LocalBrowserModelException.h')
| -rw-r--r-- | src/gui/localbrowser/LocalBrowserModelException.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/localbrowser/LocalBrowserModelException.h b/src/gui/localbrowser/LocalBrowserModelException.h new file mode 100644 index 0000000..5146c53 --- /dev/null +++ b/src/gui/localbrowser/LocalBrowserModelException.h @@ -0,0 +1,16 @@ +#ifndef STAMPSMODELEXCEPTION_H_ +#define STAMPSMODELEXCEPTION_H_ + +#include <string> +#include <exception> +using namespace std; + +class LocalBrowserModelException { + string message; +public: + LocalBrowserModelException(string message_): message(message_) {}; + const char * what() const throw() { return message.c_str(); }; + ~LocalBrowserModelException() throw() {}; +}; + +#endif /* STAMPSMODELEXCEPTION_H_ */ |
