aboutsummaryrefslogtreecommitdiff
path: root/ExitException.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ExitException.cpp')
-rwxr-xr-xExitException.cpp13
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;
+}