mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
22 lines
618 B
C++
22 lines
618 B
C++
/*
|
|
* 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;
|
|
int m_Line;
|
|
string m_Message;
|
|
|
|
public:
|
|
CFatalException(const char* File, int Line, const char* Message);
|
|
|
|
const string& GetFile() const { return m_File; }
|
|
int GetLine() const { return m_Line; }
|
|
const string& GetMessage() const { return m_Message; }
|
|
};
|