コード例 #1
0
ファイル: EdgeException.cpp プロジェクト: ratalaika/edge2d
	Exception::Exception( EExceptionCodes code, const string &desc, const string &source,
		const char *file, long line ) :
	mDesc( desc ), mSource( source ), mFile( file )
	{
		mCode = code;
		mLine = line;

		LogManager::getSingletonPtr()->logMessage( LL_ERROR, getFullDescription() ); 
	}
コード例 #2
0
ファイル: Exception.cpp プロジェクト: noorus/glacier2
 const char* Exception::what() const
 {
   return getFullDescription().c_str();
 }
コード例 #3
0
ファイル: Exception.cpp プロジェクト: patrickhartling/vrkit
const char* Exception::what() const throw()
{
   mFullDesc = getFullDescription();
   return mFullDesc.c_str();
}