public static string getFormatMessage(int msgCode, params String[] fParams)
{
try
{
string message = (string)msgs[msgCode.ToString().PadLeft(5, '0')];
return String.Format(message, fParams);
}
catch (Exception e)
{
logger.Error("Cannot getFormatMessage " + msgCode.ToString(), e);
return "[Error: cannot get message]";
}
}