Fixed issue 479

This commit is contained in:
Nick Bolton
2010-06-01 20:22:37 +00:00
parent 6278a8fb14
commit a2b79e062c
4 changed files with 59 additions and 15 deletions

View File

@@ -102,3 +102,28 @@ XUnknownClient::getWhat() const throw()
{
return format("XUnknownClient", "unknown client %{1}", m_name.c_str());
}
//
// XExitApp
//
XExitApp::XExitApp(int code) :
m_code(code)
{
// do nothing
}
int
XExitApp::getCode() const throw()
{
return m_code;
}
CString
XExitApp::getWhat() const throw()
{
return format(
"XExitApp", "exiting with code %{1}",
CStringUtil::print("%d", m_code).c_str());
}