Пример #1
0
void CalError::printLastError()
{
  std::cout << "cal3d : " << getLastErrorDescription();

  // only print supplementary information if there is some
  if(m_strLastErrorText.size() > 0)
  {
    std::cout << " '" << m_strLastErrorText << "'";
  }

  std::cout << " in " << m_strLastErrorFile << "(" << m_lastErrorLine << ")" << std::endl;
}
Пример #2
0
String getLastErrorDescription()
{
	return getLastErrorDescription( LANGIDFROMLCID(LOCALE_NEUTRAL) );
}