aboutsummaryrefslogtreecommitdiff
path: root/ExitException.cpp
blob: d890bbaad35ee3a3366265f32f2ae8418c395e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "ExitException.hpp"

CExitException::CExitException(const string & whatArg, int returnValue) :
    runtime_error(whatArg), mReturnValue(returnValue)
{
    ;
}

int
CExitException::getReturnValue()
{
    return mReturnValue;
}