diff options
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; +} |
