summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-11-29 10:52:07 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-11-29 10:52:07 +0200
commitc707e00195f1035ae535f3fc8697af42e73190c0 (patch)
tree0e3c2553bb4726821e49dad599f64ecb5b3cec96 /src/exceptions.h
parente8fd5eb8eebbf12b0561d385ef8bc245d87e9ea6 (diff)
downloadminetest-c707e00195f1035ae535f3fc8697af42e73190c0.tar.gz
minetest-c707e00195f1035ae535f3fc8697af42e73190c0.tar.bz2
minetest-c707e00195f1035ae535f3fc8697af42e73190c0.zip
sitä sun tätä tekeillä, toimii kivasti
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index cbe13f1f3..3e939a086 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -81,6 +81,22 @@ public:
{}
};
+class SettingNotFoundException : public BaseException
+{
+public:
+ SettingNotFoundException(const char *s):
+ BaseException(s)
+ {}
+};
+
+class InvalidFilenameException : public BaseException
+{
+public:
+ InvalidFilenameException(const char *s):
+ BaseException(s)
+ {}
+};
+
/*
Some "old-style" interrupts:
*/