diff options
| author | Ján Sučan <sucanjan@fit.cvut.cz> | 2017-05-10 15:13:29 +0200 |
|---|---|---|
| committer | Ján Sučan <sucanjan@fit.cvut.cz> | 2017-05-10 15:13:29 +0200 |
| commit | 02e24f0f533fe904c3a5275c4060c10c38d7c17a (patch) | |
| tree | 19d05c60e3d6a6782c4712de960a8f6705054063 /ExitException.cpp | |
Uvodny commit, subory su rovnake ako na CD prilozenom k vytlacenemu texu bakalarskej prace, naviac je pridany len subor LICENCIA
Diffstat (limited to 'ExitException.cpp')
| -rwxr-xr-x | ExitException.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ExitException.cpp b/ExitException.cpp new file mode 100755 index 0000000..d890bba --- /dev/null +++ b/ExitException.cpp @@ -0,0 +1,13 @@ +#include "ExitException.hpp" + +CExitException::CExitException(const string & whatArg, int returnValue) : + runtime_error(whatArg), mReturnValue(returnValue) +{ + ; +} + +int +CExitException::getReturnValue() +{ + return mReturnValue; +} |
