summaryrefslogtreecommitdiff
path: root/src/stamps/StampsModelException.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-02 16:01:28 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-02 16:01:28 (GMT)
commitefddc12e5d2aadc5eee1927245ad38b9dee89aed (patch)
treecf7ad38119f0734609944158e33bbb944925c777 /src/stamps/StampsModelException.h
parent289556ac7078963b6af361f5812dd62e6712359f (diff)
downloadpowder-efddc12e5d2aadc5eee1927245ad38b9dee89aed.zip
powder-efddc12e5d2aadc5eee1927245ad38b9dee89aed.tar.gz
Stamps browser, placement + clipboard sampling and placement - No clipboard or stamp thumbnail generation, needs thumbnail generator from SaveLoader
Diffstat (limited to 'src/stamps/StampsModelException.h')
-rw-r--r--src/stamps/StampsModelException.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/stamps/StampsModelException.h b/src/stamps/StampsModelException.h
new file mode 100644
index 0000000..7310aa0
--- /dev/null
+++ b/src/stamps/StampsModelException.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 StampsModelException {
+ string message;
+public:
+ StampsModelException(string message_): message(message_) {};
+ const char * what() const throw() { return message.c_str(); };
+ ~StampsModelException() throw() {};
+};
+
+#endif /* STAMPSMODELEXCEPTION_H_ */