|
#include "myException.h"
// #include "..\myLog\myLog.h"
// using namespace std;
myException::myException(int errCode,const string& errMsg)
{
initVars();
errorCode = errCode;
if ( errMsg[0] ) errorMsg.append(errMsg);
}
void myException::initVars()
{
errorCode = 0;
errorMsg = "";
}
void myException::response()
{
//winLog << "Error detect: " << endl;
//winLog << " ==> error code: " << errorCode << endl;
//winLog << " ==> error message: " << errorMsg << endl;
cout << "Error detect: " << endl;
cout << " ==> error code: " << errorCode << endl;
cout << " ==> error message: " << errorMsg << endl;
cout.flush();
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I love to tell jokes and today, I finally came up with my own joke. here it goes:
I decide to make my first son a medical doctor so later on when I am old and sick, I can get medical care any time I need and for free..., in fact, better to make my second son a medical doctor too so I can get a second opinion.
here is another version of this joke:
I decide to make my first son a medical doctor so later on when I am old and sick, I can get medical care any time I need and for free..., in fact, better to make my second son a medical doctor too so I can get a second opinion. well, perhaps my third son should be a lawyer - in case something is wrong with my medical care, I can sue the first two for free.
if you happen to visit this page and read these two jokes, tell me which one you like...