diff options
Diffstat (limited to 'src/localbrowser/LocalBrowserModelException.h')
| -rw-r--r-- | src/localbrowser/LocalBrowserModelException.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/localbrowser/LocalBrowserModelException.h b/src/localbrowser/LocalBrowserModelException.h new file mode 100644 index 0000000..087f7df --- /dev/null +++ b/src/localbrowser/LocalBrowserModelException.h @@ -0,0 +1,23 @@ +/* + * StampsModelException.h + * + * Created on: Mar 29, 2012 + * Author: Simon + */ + +#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_ */ |
