Ejemplo n.º 1
0
// Return exception description
const char* GLC_OpenGlException::what() const throw()
{
	QString exceptionmsg("GLC_OpenGlException : ");
	exceptionmsg.append(m_ErrorDescription);
	exceptionmsg.append(m_GlErrorDescription);
	return exceptionmsg.toAscii().data();
}
// Return exception description
const char* GLC_FileFormatException::what() const throw()
{
	QString exceptionmsg("GLC_FileFormatException : ");
	exceptionmsg.append(m_ErrorDescription);
	exceptionmsg.append(" in file : ");
	exceptionmsg.append(m_FileName);
	return exceptionmsg.toUtf8().data();
}