![]() |
ReportStaticError() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Protected Function |
Declared in: ErrorHandler.h |
Declaration
static void ReportStaticError(
const std::string& rClass,
const std::string& rMethod,
const std::string& rMessage,
DWORD dwAdditionalData);
DescriptionReport an error
Function Body
if (!m_pLog)
return;
try
{
//Convert the number
char aTmp[11];
ltoa(dwAdditionalData,aTmp,10);
//Create the new message
std::string sNewMessage(rMessage);
sNewMessage+="Additional data: ";
sNewMessage+=aTmp;
//Report to the log
m_pLog->ReportError(rClass,
rMethod,
sNewMessage);
}
ERROR_UNKNOWN("ReportStaticError")
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |