diff Exception/PermissionException.hpp @ 28:b2c2c2bf2bbd

Refactor Exceptions into a separate directory.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Thu, 06 Sep 2012 18:29:43 +0200
parents PermissionException.hpp@b5943e4bf676
children c9447697609f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Exception/PermissionException.hpp	Thu Sep 06 18:29:43 2012 +0200
@@ -0,0 +1,12 @@
+#ifndef PERMISSIONEXCEPTION_HPP
+#define PERMISSIONEXCEPTION_HPP
+
+#include "IOException.hpp"
+
+class PermissionException : public IOException {
+public:
+  PermissionException(const string_t& errorMsg) : IOException(errorMsg) {}
+
+};
+
+#endif //PERMISSIONEXCEPTION_HPP