From 02e24f0f533fe904c3a5275c4060c10c38d7c17a Mon Sep 17 00:00:00 2001 From: Ján Sučan Date: Wed, 10 May 2017 15:13:29 +0200 Subject: Uvodny commit, subory su rovnake ako na CD prilozenom k vytlacenemu texu bakalarskej prace, naviac je pridany len subor LICENCIA --- ExitException.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 ExitException.hpp (limited to 'ExitException.hpp') diff --git a/ExitException.hpp b/ExitException.hpp new file mode 100755 index 0000000..ca21bd1 --- /dev/null +++ b/ExitException.hpp @@ -0,0 +1,19 @@ +#ifndef EXIT_EXCEPTION_HPP +#define EXIT_EXCEPTION_HPP 1 + +#include +#include + +using std::runtime_error; +using std::string; + +class CExitException : public runtime_error +{ +private: + int mReturnValue; +public: + CExitException(const string & whatArg, int returnValue); + int getReturnValue(); +}; + +#endif -- cgit v1.2.3