aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/io/FileNotExistException.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/common/io/FileNotExistException.h')
-rw-r--r--include/cru/common/io/FileNotExistException.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/cru/common/io/FileNotExistException.h b/include/cru/common/io/FileNotExistException.h
new file mode 100644
index 00000000..f49271b1
--- /dev/null
+++ b/include/cru/common/io/FileNotExistException.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "../Base.h"
+#include "../Exception.h"
+
+namespace cru::io {
+ class CRU_BASE_API FileNotExistException : public Exception {
+ public:
+ FileNotExistException(String path);
+
+ CRU_DEFAULT_COPY(FileNotExistException)
+ CRU_DEFAULT_MOVE(FileNotExistException)
+
+ ~FileNotExistException() override = default;
+
+ private:
+ String path_;
+ };
+}