diff options
Diffstat (limited to 'src/exceptions.h')
-rw-r--r-- | src/exceptions.h | 16 |
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: */ |