summaryrefslogtreecommitdiff
path: root/slicer/db/exceptions.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-10-13 20:07:35 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-10-13 20:07:35 +0100
commit13d613709534e5d77798b9ea9ca5594610445420 (patch)
treecfdce9f8df0234278e958508af474a6a5776a382 /slicer/db/exceptions.cpp
parentSplit SqlSource into its own files (diff)
downloadslicer-13d613709534e5d77798b9ea9ca5594610445420.tar.bz2
slicer-13d613709534e5d77798b9ea9ca5594610445420.tar.xz
slicer-13d613709534e5d77798b9ea9ca5594610445420.zip
Centralize common exceptions
Diffstat (limited to 'slicer/db/exceptions.cpp')
-rw-r--r--slicer/db/exceptions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/slicer/db/exceptions.cpp b/slicer/db/exceptions.cpp
new file mode 100644
index 0000000..50099bd
--- /dev/null
+++ b/slicer/db/exceptions.cpp
@@ -0,0 +1,6 @@
+#include "exceptions.h"
+
+namespace Slicer {
+ UnsupportedModelType::UnsupportedModelType() : std::invalid_argument("Unspported model type") { }
+}
+