summaryrefslogtreecommitdiff
path: root/src/localbrowser/LocalBrowserModelException.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-07 13:23:26 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-07 13:23:26 (GMT)
commit61ed6e0276d580515d0acf5ddb96b1db95b9b191 (patch)
tree65d9ad219e0b0f6bb1a81813c1888888f2cbd7a4 /src/localbrowser/LocalBrowserModelException.h
parent2e48fc6115ebe0d294a2c7ff7fe8774217676f44 (diff)
downloadpowder-61ed6e0276d580515d0acf5ddb96b1db95b9b191.zip
powder-61ed6e0276d580515d0acf5ddb96b1db95b9b191.tar.gz
Rename Save class to SaveInfo, introduce SaveFile for hanlding of local data (stamps and local saves). Rename Stamps browser to LocalBrowser, ready for sharing code with the local save browser
Diffstat (limited to 'src/localbrowser/LocalBrowserModelException.h')
-rw-r--r--src/localbrowser/LocalBrowserModelException.h23
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_ */