2009-03-21 01:39:04 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Automatic Testing Utility
|
|
|
|
* LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
|
|
|
|
* PURPOSE: Fatal program exception with automatically added information
|
|
|
|
* COPYRIGHT: Copyright 2009 Colin Finck <colin@reactos.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
class CFatalException
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
string m_File;
|
2009-03-24 12:37:54 +00:00
|
|
|
int m_Line;
|
2009-03-21 01:39:04 +00:00
|
|
|
string m_Message;
|
|
|
|
|
|
|
|
public:
|
2009-03-24 12:37:54 +00:00
|
|
|
CFatalException(const char* File, int Line, const char* Message);
|
2009-03-21 01:39:04 +00:00
|
|
|
|
|
|
|
const string& GetFile() const { return m_File; }
|
2009-03-24 12:37:54 +00:00
|
|
|
int GetLine() const { return m_Line; }
|
2009-03-21 01:39:04 +00:00
|
|
|
const string& GetMessage() const { return m_Message; }
|
|
|
|
};
|