X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fexceptions.h;h=40a0db4aa86110e14f96dac38e0e085a7282a270;hb=ecd5c5f9206437c320da029680cf1d053b644761;hp=80bdbeb361c7b15252dbd2d4716493606449a1a3;hpb=fc26dcdb19dd4e296d850714019ed7da1de0b021;p=oweals%2Fminetest.git diff --git a/src/exceptions.h b/src/exceptions.h index 80bdbeb36..40a0db4aa 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -116,6 +116,30 @@ public: {} }; +class ProcessingLimitException : public BaseException +{ +public: + ProcessingLimitException(const char *s): + BaseException(s) + {} +}; + +class CommandLineError : public BaseException +{ +public: + CommandLineError(const char *s): + BaseException(s) + {} +}; + +class ItemNotFoundException : public BaseException +{ +public: + ItemNotFoundException(const char *s): + BaseException(s) + {} +}; + /* Some "old-style" interrupts: */