summaryrefslogtreecommitdiff
path: root/project2/exceptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/exceptions.cpp')
-rw-r--r--project2/exceptions.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/project2/exceptions.cpp b/project2/exceptions.cpp
new file mode 100644
index 0000000..9aaeb07
--- /dev/null
+++ b/project2/exceptions.cpp
@@ -0,0 +1,7 @@
+#include "exceptions.h"
+
+NotSupported::NotSupported(const std::string & what) :
+ std::runtime_error(what)
+{
+}
+