diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-10-13 20:07:35 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-10-13 20:07:35 +0100 |
commit | 13d613709534e5d77798b9ea9ca5594610445420 (patch) | |
tree | cfdce9f8df0234278e958508af474a6a5776a382 /slicer/db/exceptions.cpp | |
parent | Split SqlSource into its own files (diff) | |
download | slicer-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.cpp | 6 |
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") { } +} + |